Class EasingFunctionBase
Defines the Easing Function base.
Implements
Namespace: Evergine.Framework.Animation
Assembly: Evergine.Framework.dll
Syntax
public abstract class EasingFunctionBase : IEasingFunction
Properties
EasingMode
Gets or sets the current easing mode.
Declaration
public EasingMode EasingMode { get; set; }
Property Value
Type | Description |
---|---|
EasingMode | The easing mode. |
Methods
Ease(double)
Applies the easing function using the specified normalized time.
Declaration
public double Ease(double normalizedTime)
Parameters
Type | Name | Description |
---|---|---|
double | normalizedTime | Normalized time. |
Returns
Type | Description |
---|---|
double | Calculated value. |
EaseInCore(double)
Core easing method.
Declaration
protected abstract double EaseInCore(double normalizedTime)
Parameters
Type | Name | Description |
---|---|---|
double | normalizedTime | The normalized time. |
Returns
Type | Description |
---|---|
double | A double value result. |