SpringParams.full


Description:

[ CCode ( has_construct_function = false ) ]
public SpringParams.full (double damping, double mass, double stiffness)

Creates a new `AdwSpringParams` from mass, stiffness and damping.

See [ctor@SpringParams.new] for a simplified constructor using damping ratio instead of damping.

Parameters:

damping

the damping of the spring

mass

the mass of the spring

stiffness

the stiffness of the spring

Returns:

the newly created spring parameters