Static class with useful easer functions that can be used by tweens.

Operation of in/out easers:

  • in(t):

    return t;

  • out(t)

    return 1 - in(1 - t);

  • inOut(t)

    return (t <= .5) ? in(t * 2) / 2 : out(t * 2 - 1) / 2 + .5;

Static methods

staticinlinebackIn(t:Float):Float

staticinlinebackOut(t:Float):Float

staticinlinecircIn(t:Float):Float

staticinlinecircOut(t:Float):Float

staticinlinecubeIn(t:Float):Float

staticinlinecubeInOut(t:Float):Float

staticinlinecubeOut(t:Float):Float

staticinlineelasticIn(t:Float):Float

staticinlineelasticOut(t:Float):Float

staticinlineexpoIn(t:Float):Float

staticinlineexpoOut(t:Float):Float

staticinlinelinear(t:Float):Float

Available since

4.3.0

.

staticinlinequadIn(t:Float):Float

staticinlinequadInOut(t:Float):Float

staticinlinequadOut(t:Float):Float

staticinlinequartIn(t:Float):Float

staticinlinequartInOut(t:Float):Float

staticinlinequartOut(t:Float):Float

staticinlinequintIn(t:Float):Float

staticinlinequintInOut(t:Float):Float

staticinlinequintOut(t:Float):Float

staticinlinesineIn(t:Float):Float

staticinlinesineInOut(t:Float):Float

staticinlinesineOut(t:Float):Float

staticinlinesmoothStepIn(t:Float):Float

Available since

4.3.0

.

staticinlinesmoothStepInOut(t:Float):Float

Available since

4.3.0

.

staticinlinesmoothStepOut(t:Float):Float

Available since

4.3.0

.

staticinlinesmootherStepIn(t:Float):Float

Available since

4.3.0

.

staticinlinesmootherStepInOut(t:Float):Float

Available since

4.3.0

.

staticinlinesmootherStepOut(t:Float):Float

Available since

4.3.0

.