com.badlogic.gdx.graphics.g3d.model
Class Animation
java.lang.Object
com.badlogic.gdx.graphics.g3d.model.Animation
public class Animation
- extends Object
An Animation has an id and a list of NodeAnimation
instances. Each
NodeAnimation animates a single Node
in the Model
. Every
NodeAnimation
is assumed to have the same amount of keyframes,
at the same timestamps, as all other node animations for faster keyframe
searches.
- Author:
- badlogic
id
public 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
Animation
public Animation()
Copyright © 2013. All Rights Reserved.