Class EasingFunctions
Inheritance
System.Object
EasingFunctions
Assembly: cs.temp.dll.dll
Syntax
public class EasingFunctions
Methods
EaseInBack(Single, Single, Single) | |
EaseInBackD(Single, Single, Single) | |
EaseInBounce(Single, Single, Single) | |
EaseInBounceD(Single, Single, Single) | |
EaseInCirc(Single, Single, Single) | |
EaseInCircD(Single, Single, Single) | |
EaseInCubic(Single, Single, Single) | |
EaseInCubicD(Single, Single, Single) | |
EaseInElastic(Single, Single, Single) | |
EaseInElasticD(Single, Single, Single) | |
EaseInExpo(Single, Single, Single) | |
EaseInExpoD(Single, Single, Single) | |
EaseInOutBack(Single, Single, Single) | |
EaseInOutBackD(Single, Single, Single) | |
EaseInOutBounce(Single, Single, Single) | |
EaseInOutBounceD(Single, Single, Single) | |
EaseInOutCirc(Single, Single, Single) | |
EaseInOutCircD(Single, Single, Single) | |
EaseInOutCubic(Single, Single, Single) | |
EaseInOutCubicD(Single, Single, Single) | |
EaseInOutElastic(Single, Single, Single) | |
EaseInOutElasticD(Single, Single, Single) | |
EaseInOutExpo(Single, Single, Single) | |
EaseInOutExpoD(Single, Single, Single) | |
EaseInOutQuad(Single, Single, Single) | |
EaseInOutQuadD(Single, Single, Single) | |
EaseInOutQuart(Single, Single, Single) | |
EaseInOutQuartD(Single, Single, Single) | |
EaseInOutQuint(Single, Single, Single) | |
EaseInOutQuintD(Single, Single, Single) | |
EaseInOutSine(Single, Single, Single) | |
EaseInOutSineD(Single, Single, Single) | |
EaseInQuad(Single, Single, Single) | |
EaseInQuadD(Single, Single, Single) | |
EaseInQuart(Single, Single, Single) | |
EaseInQuartD(Single, Single, Single) | |
EaseInQuint(Single, Single, Single) | |
EaseInQuintD(Single, Single, Single) | |
EaseInSine(Single, Single, Single) | |
EaseInSineD(Single, Single, Single) | |
EaseOutBack(Single, Single, Single) | |
EaseOutBackD(Single, Single, Single) | |
EaseOutBounce(Single, Single, Single) | |
EaseOutBounceD(Single, Single, Single) | |
EaseOutCirc(Single, Single, Single) | |
EaseOutCircD(Single, Single, Single) | |
EaseOutCubic(Single, Single, Single) | |
EaseOutCubicD(Single, Single, Single) | |
EaseOutElastic(Single, Single, Single) | |
EaseOutElasticD(Single, Single, Single) | |
EaseOutExpo(Single, Single, Single) | |
EaseOutExpoD(Single, Single, Single) | |
EaseOutQuad(Single, Single, Single) | |
EaseOutQuadD(Single, Single, Single) | |
EaseOutQuart(Single, Single, Single) | |
EaseOutQuartD(Single, Single, Single) | |
EaseOutQuint(Single, Single, Single) | |
EaseOutQuintD(Single, Single, Single) | |
EaseOutSine(Single, Single, Single) | |
EaseOutSineD(Single, Single, Single) | |
GetEasingFunction(EasingFunctions.Functions) | Returns the function associated to the easingFunction enum. This value returned should be cached as it allocates memory
to return.
|
GetEasingFunctionDerivative(EasingFunctions.Functions) | Gets the derivative function of the appropriate easing function. If you use an easing function for position then this
function can get you the speed at a given time (normalized).
|
Linear(Single, Single, Single) | |
LinearD(Single, Single, Single) | |
Spring(Single, Single, Single) | |
SpringD(Single, Single, Single) | |
EaseInBack(Single, Single, Single)
Declaration
public static float EaseInBack(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInBackD(Single, Single, Single)
Declaration
public static float EaseInBackD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInBounce(Single, Single, Single)
Declaration
public static float EaseInBounce(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInBounceD(Single, Single, Single)
Declaration
public static float EaseInBounceD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInCirc(Single, Single, Single)
Declaration
public static float EaseInCirc(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInCircD(Single, Single, Single)
Declaration
public static float EaseInCircD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInCubic(Single, Single, Single)
Declaration
public static float EaseInCubic(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInCubicD(Single, Single, Single)
Declaration
public static float EaseInCubicD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInElastic(Single, Single, Single)
Declaration
public static float EaseInElastic(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInElasticD(Single, Single, Single)
Declaration
public static float EaseInElasticD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInExpo(Single, Single, Single)
Declaration
public static float EaseInExpo(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInExpoD(Single, Single, Single)
Declaration
public static float EaseInExpoD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutBack(Single, Single, Single)
Declaration
public static float EaseInOutBack(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutBackD(Single, Single, Single)
Declaration
public static float EaseInOutBackD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutBounce(Single, Single, Single)
Declaration
public static float EaseInOutBounce(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutBounceD(Single, Single, Single)
Declaration
public static float EaseInOutBounceD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutCirc(Single, Single, Single)
Declaration
public static float EaseInOutCirc(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutCircD(Single, Single, Single)
Declaration
public static float EaseInOutCircD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutCubic(Single, Single, Single)
Declaration
public static float EaseInOutCubic(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutCubicD(Single, Single, Single)
Declaration
public static float EaseInOutCubicD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutElastic(Single, Single, Single)
Declaration
public static float EaseInOutElastic(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutElasticD(Single, Single, Single)
Declaration
public static float EaseInOutElasticD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutExpo(Single, Single, Single)
Declaration
public static float EaseInOutExpo(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutExpoD(Single, Single, Single)
Declaration
public static float EaseInOutExpoD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutQuad(Single, Single, Single)
Declaration
public static float EaseInOutQuad(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutQuadD(Single, Single, Single)
Declaration
public static float EaseInOutQuadD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutQuart(Single, Single, Single)
Declaration
public static float EaseInOutQuart(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutQuartD(Single, Single, Single)
Declaration
public static float EaseInOutQuartD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutQuint(Single, Single, Single)
Declaration
public static float EaseInOutQuint(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutQuintD(Single, Single, Single)
Declaration
public static float EaseInOutQuintD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutSine(Single, Single, Single)
Declaration
public static float EaseInOutSine(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInOutSineD(Single, Single, Single)
Declaration
public static float EaseInOutSineD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInQuad(Single, Single, Single)
Declaration
public static float EaseInQuad(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInQuadD(Single, Single, Single)
Declaration
public static float EaseInQuadD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInQuart(Single, Single, Single)
Declaration
public static float EaseInQuart(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInQuartD(Single, Single, Single)
Declaration
public static float EaseInQuartD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInQuint(Single, Single, Single)
Declaration
public static float EaseInQuint(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInQuintD(Single, Single, Single)
Declaration
public static float EaseInQuintD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInSine(Single, Single, Single)
Declaration
public static float EaseInSine(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseInSineD(Single, Single, Single)
Declaration
public static float EaseInSineD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutBack(Single, Single, Single)
Declaration
public static float EaseOutBack(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutBackD(Single, Single, Single)
Declaration
public static float EaseOutBackD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutBounce(Single, Single, Single)
Declaration
public static float EaseOutBounce(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutBounceD(Single, Single, Single)
Declaration
public static float EaseOutBounceD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutCirc(Single, Single, Single)
Declaration
public static float EaseOutCirc(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutCircD(Single, Single, Single)
Declaration
public static float EaseOutCircD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutCubic(Single, Single, Single)
Declaration
public static float EaseOutCubic(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutCubicD(Single, Single, Single)
Declaration
public static float EaseOutCubicD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutElastic(Single, Single, Single)
Declaration
public static float EaseOutElastic(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutElasticD(Single, Single, Single)
Declaration
public static float EaseOutElasticD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutExpo(Single, Single, Single)
Declaration
public static float EaseOutExpo(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutExpoD(Single, Single, Single)
Declaration
public static float EaseOutExpoD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutQuad(Single, Single, Single)
Declaration
public static float EaseOutQuad(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutQuadD(Single, Single, Single)
Declaration
public static float EaseOutQuadD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutQuart(Single, Single, Single)
Declaration
public static float EaseOutQuart(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutQuartD(Single, Single, Single)
Declaration
public static float EaseOutQuartD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutQuint(Single, Single, Single)
Declaration
public static float EaseOutQuint(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutQuintD(Single, Single, Single)
Declaration
public static float EaseOutQuintD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutSine(Single, Single, Single)
Declaration
public static float EaseOutSine(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
EaseOutSineD(Single, Single, Single)
Declaration
public static float EaseOutSineD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
GetEasingFunction(EasingFunctions.Functions)
Returns the function associated to the easingFunction enum. This value returned should be cached as it allocates memory
to return.
Declaration
public static EasingFunctions.EasingFunc GetEasingFunction(EasingFunctions.Functions easingFunction)
Parameters
Returns
GetEasingFunctionDerivative(EasingFunctions.Functions)
Gets the derivative function of the appropriate easing function. If you use an easing function for position then this
function can get you the speed at a given time (normalized).
Declaration
public static EasingFunctions.EasingFunc GetEasingFunctionDerivative(EasingFunctions.Functions easingFunction)
Parameters
Returns
Linear(Single, Single, Single)
Declaration
public static float Linear(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
LinearD(Single, Single, Single)
Declaration
public static float LinearD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
Spring(Single, Single, Single)
Declaration
public static float Spring(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|
SpringD(Single, Single, Single)
Declaration
public static float SpringD(float start, float end, float value)
Parameters
Type |
Name |
Description |
System.Single |
start |
|
System.Single |
end |
|
System.Single |
value |
|
Returns
Type |
Description |
System.Single |
|