com.badlogic.gdx.graphics.g3d.model
Class NodeAnimation
java.lang.Object
com.badlogic.gdx.graphics.g3d.model.NodeAnimation
public class NodeAnimation
- extends Object
A NodeAnimation defines keyframes for a Node
in a Model
. The keyframes
are given as a translation vector, a rotation quaternion and a scale vector. Keyframes are
interpolated linearly for now. Keytimes are given in seconds.
- Author:
- badlogic
node
public Node node
- the Node affected by this animation
keyframes
public Array<NodeKeyframe> keyframes
- the keyframes, sorted by time, ascending
NodeAnimation
public NodeAnimation()
Copyright © 2013. All Rights Reserved.