Class Animation
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.model.Animation
-
public class Animation extends java.lang.ObjectAn Animation has an id and a list ofNodeAnimationinstances. Each NodeAnimation animates a singleNodein theModel. EveryNodeAnimationis assumed to have the same amount of keyframes, at the same timestamps, as all other node animations for faster keyframe searches.
-
-
Field Summary
Fields Modifier and Type Field Description floatdurationthe duration in secondsjava.lang.Stringidthe unique id of the animationArray<NodeAnimation>nodeAnimationsthe animation curves for individual nodes
-
Constructor Summary
Constructors Constructor Description Animation()
-
-
-
Field Detail
-
id
public java.lang.String id
the unique id of the animation
-
duration
public float duration
the duration in seconds
-
nodeAnimations
public Array<NodeAnimation> nodeAnimations
the animation curves for individual nodes
-
-