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
Modifier and TypeClassDescriptionstatic class
An Ease function composed of 2 sb function for custom in and out easing -
Field Summary
Modifier and TypeFieldDescriptionstatic EaseFunction
a function that always returns 0static EaseFunction
a function containing a series of increasing bouncesstatic EaseFunction
a function that returns the cube of its inputstatic EaseFunction
In Elastic and bouncestatic EaseFunction
static EaseFunction
static EaseFunction
static EaseFunction
inOutstatic EaseFunction
static EaseFunction
static EaseFunction
a function that returns the square of its inputstatic EaseFunction
a function that returns the 4th power of its inputstatic EaseFunction
a function that returns the 5th power of its inputstatic EaseFunction
Instatic EaseFunction
a function that starts quickly, then bounces several timesstatic EaseFunction
static EaseFunction
Out Elastic and bouncestatic EaseFunction
Outstatic EaseFunction
static EaseFunction
static EaseFunction
static EaseFunction
Extra 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
-