Class Expo
Inherited Members
Namespace: SadConsole.EasingFunctions
Assembly: SadConsole.dll
Syntax
[DataContract]
public class Expo : EasingBase
Constructors
Expo()
Declaration
public Expo()
Methods
Ease(double, double, double, double)
Called to apply an easing function to the value.
Declaration
public override double Ease(double time, double startingValue, double currentValue, double duration)
Parameters
Type | Name | Description |
---|---|---|
double | time | |
double | startingValue | The starting value. |
double | currentValue | |
double | duration |
Returns
Type | Description |
---|---|
double | A calculated value. |