Share via


ElasticEasingFunction.Springiness Property

Definition

Gets or sets the stiffness of the spring. The smaller the Springiness value is, the stiffer the spring and the faster the elasticity decreases in intensity over each oscillation.

public:
 property float Springiness { float get(); };
float Springiness();
public float Springiness { get; }
var single = elasticEasingFunction.springiness;
Public ReadOnly Property Springiness As Single

Property Value

Single

float

A positive number that specifies the stiffness of the spring. The default is 3.

Remarks

The smaller the Springiness value is, the stiffer the spring and the faster the elasticity decreases in intensity over each oscillation.

The following diagram illustrates the effect of different values of Springiness.

A graph that demonstrates different Springiness values

Applies to