EasingBase Class
Definition
Section titled “Definition”The base class for an easing function.
[DataContract]public abstract class EasingBaseInheritance object
Constructors
Section titled “Constructors”EasingBase()
Section titled “EasingBase()”Creates a new instance of this type.
public EasingBase()Properties
Section titled “Properties”The easing mode.
[DataMember]public EasingMode Mode { get; set; }Methods
Section titled “Methods”Ease(double, double, double, double)
Section titled “Ease(double, double, double, double)”Called to apply an easing function to the value.
public abstract double Ease(double elapsedTime, double startingValue, double endingValue, double maxDuration)Parameters
Section titled “Parameters”elapsedTime double
The total time applied to the function.
startingValue double
The starting value.
endingValue double
The ending value.
maxDuration double
Total time applied to easing.
Returns
Section titled “Returns”double
A calculated value.