public static class AnimationController.AnimationDesc
extends java.lang.Object
Animation. You can read the values within this class to get the progress of the
animation. Do not change the values. Only valid when the animation is currently played.| Modifier and Type | Field and Description |
|---|---|
Animation |
animation
The animation to be applied.
|
float |
duration
The duration of the animation
|
AnimationController.AnimationListener |
listener
Listener which will be informed when the animation is looped or ended.
|
int |
loopCount
The number of remaining loops, negative for continuous, zero if stopped.
|
float |
offset
The offset within the animation (animation time = offsetTime + time)
|
float |
speed
The speed at which to play the animation (can be negative), 1.0 for normal speed.
|
float |
time
The current animation time.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AnimationDesc() |
| Modifier and Type | Method and Description |
|---|---|
protected float |
update(float delta) |
public AnimationController.AnimationListener listener
public Animation animation
public float speed
public float time
public float offset
public float duration
public int loopCount