Interface IntSmoother
public interface IntSmoother
Allows using various ways of smoothly interpolating an int value to another int value as a first-class function.
This is a functional interface whose functional method is
apply(int, int, float).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntSmootherA method reference toDescriptiveColor.lerpColors(int, int, float).static final IntSmootherInterpolates between start and end by change usingMathUtils.lerp(float, float, float), then rounds the result to an int withMathUtils.round(float). -
Method Summary
-
Field Details
-
LINEAR
Interpolates between start and end by change usingMathUtils.lerp(float, float, float), then rounds the result to an int withMathUtils.round(float). -
COLOR
A method reference toDescriptiveColor.lerpColors(int, int, float).
-
-
Method Details
-
apply
int apply(int start, int end, float change)
-