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 SummaryConstructorsConstructorDescriptionInOut(EaseFunction in, EaseFunction out) Instantiate a function that blends 2 pre-existing functions.
- 
Method Summary
- 
Constructor Details- 
InOutInstantiate a function that blends 2 pre-existing functions.- Parameters:
- in- the function to use at value=0
- out- the function to use at value=1
 
 
- 
- 
Method Details- 
applypublic float apply(float value) - Specified by:
- applyin interface- EaseFunction
- Parameters:
- value- a value from 0 to 1. Passing a value out of this range will have unexpected behavior.
- Returns:
- the blended value
 
 
-