|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Interpolator
An interpolator defines the rate of change of an animation. This allows the basic animation effects (alpha, scale, translate, rotate) to be accelerated, decelerated etc.
Method Summary | |
---|---|
Interpolator |
copy()
Creates a copy of this interpolator. |
void |
finished()
Called when the animation has finished and the Interpolator is no longer needed. |
float |
getInterpolation(float input)
Maps a point in the animation duration to a multiplier to be applied to the transformations of an animation. |
Method Detail |
---|
float getInterpolation(float input)
input
- A value between 0 and 1.0 indicating our current point in the animation where 0 represents the start and 1.0
represents the end
Interpolator
s which overshoot their targets, or
less than 0 for Interpolator
s that undershoot their targets.void finished()
Interpolator
is no longer needed.
Interpolator copy()
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |