SpringParams.newFull

Creates a new adw.spring_params.SpringParams from mass, stiffness and damping.

See adw.spring_params.SpringParams.new_ for a simplified constructor using damping ratio instead of damping.

class SpringParams
static
newFull
(
double damping
,
double mass
,
double stiffness
)

Parameters

damping double

the damping of the spring

mass double

the mass of the spring

stiffness double

the stiffness of the spring

Return Value

Type: adw.spring_params.SpringParams

the newly created spring parameters