Package com.jme3.math
Class Easing.InOut
java.lang.Object
com.jme3.math.Easing.InOut
- All Implemented Interfaces:
EaseFunction
- Enclosing class:
- Easing
An Ease function composed of 2 sb function for custom in and out easing
-
Constructor Summary
ConstructorDescriptionInOut
(EaseFunction in, EaseFunction out) Instantiate a function that blends 2 pre-existing functions. -
Method Summary
-
Constructor Details
-
InOut
Instantiate a function that blends 2 pre-existing functions.- Parameters:
in
- the function to use at value=0out
- the function to use at value=1
-
-
Method Details
-
apply
public float apply(float value) - Specified by:
apply
in interfaceEaseFunction
- Parameters:
value
- a value from 0 to 1. Passing a value out of this range will have unexpected behavior.- Returns:
- the blended value
-