Interface EasingFunction
- All Known Implementing Classes:
CubicBezierEasing,Easing,StepEasing
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A mathematical function that maps values between
0f and 1f.-
Method Summary
-
Method Details
-
get
default float get(float t, float start, float end) Applies this easing function to an input value between0fand1fand maps the output to a value betweenstartandend.- Parameters:
t- Normalized input value (0fto1f)- Returns:
- The eased and remapped output value.
-
get
float get(float t) Applies this easing function to an input value between0fand1f. Values outside of this range may produce unpredictable results.- Parameters:
t- Normalized input value (0fto1f)- Returns:
- The eased output value.
-