public static class Easing.InOut extends java.lang.Object implements EaseFunction
Constructor and Description |
---|
InOut(EaseFunction in,
EaseFunction out)
Instantiate a function that blends 2 pre-existing functions.
|
Modifier and Type | Method and Description |
---|---|
float |
apply(float value) |
public InOut(EaseFunction in, EaseFunction out)
in
- the function to use at value=0out
- the function to use at value=1public float apply(float value)
apply
in interface EaseFunction
value
- a value from 0 to 1. Passing a value out of this range will have unexpected behavior.