Interface GUIEasingType
- All Known Implementing Classes:
GUIEasing
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Easing type interface for custom easings.
- Author:
- Matthew Tropiano
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetScaling(double inputScalar) Samples this easing to get the final output value for interpolation.
-
Method Details
-
getScaling
double getScaling(double inputScalar) Samples this easing to get the final output value for interpolation. An input time of 0f and less should return 0f. An input time of 1f or greater should return 1f.- Parameters:
inputScalar- the input scalar (between 0 and 1, inclusively).- Returns:
- the output value (between 0 and 1, inclusively).
-