Package com.jme3.math
Class Easing
java.lang.Object
com.jme3.math.Easing
Expose several Easing function from Robert Penner
Created by Nehon on 26/03/2017.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn Ease function composed of 2 sb function for custom in and out easing -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic EaseFunctiona function that always returns 0static EaseFunctiona function containing a series of increasing bouncesstatic EaseFunctiona function that returns the cube of its inputstatic EaseFunctionIn Elastic and bouncestatic EaseFunctionstatic EaseFunctionstatic EaseFunctionstatic EaseFunctioninOutstatic EaseFunctionstatic EaseFunctionstatic EaseFunctiona function that returns the square of its inputstatic EaseFunctiona function that returns the 4th power of its inputstatic EaseFunctiona function that returns the 5th power of its inputstatic EaseFunctionInstatic EaseFunctiona function that starts quickly, then bounces several timesstatic EaseFunctionstatic EaseFunctionOut Elastic and bouncestatic EaseFunctionOutstatic EaseFunctionstatic EaseFunctionstatic EaseFunctionstatic EaseFunctionExtra functions -
Method Summary
-
Field Details
-
constant
a function that always returns 0 -
linear
In -
inQuad
a function that returns the square of its input -
inCubic
a function that returns the cube of its input -
inQuart
a function that returns the 4th power of its input -
inQuint
a function that returns the 5th power of its input -
outElastic
Out Elastic and bounce -
outBounce
a function that starts quickly, then bounces several times -
inElastic
In Elastic and bounce -
inBounce
a function containing a series of increasing bounces -
outQuad
Out -
outCubic
-
outQuart
-
outQuint
-
inOutQuad
inOut -
inOutCubic
-
inOutQuart
-
inOutQuint
-
inOutElastic
-
inOutBounce
-
smoothStep
Extra functions -
smootherStep
-