Class ElasticEase
Represents an easing function that creates an animation resembling a spring oscillating back and forth until it comes to rest.
Implements
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public class ElasticEase : EasingFunctionBase, IEasingFunction
Fields
Oscillations
Gets or sets the oscillations.
Declaration
public int Oscillations
Field Value
Type | Description |
---|---|
int | The oscillations. |
Springiness
Gets or sets the springiness.
Declaration
public double Springiness
Field Value
Type | Description |
---|---|
double | The springiness. |
Methods
EaseInCore(double)
Core easing method.
Declaration
protected override double EaseInCore(double normalizedTime)
Parameters
Type | Name | Description |
---|---|---|
double | normalizedTime | The normalized time. |
Returns
Type | Description |
---|---|
double | A double value result. |