com.badlogic.gdx.graphics.g3d.model
Class NodeAnimation

java.lang.Object
  extended by 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

Field Summary
 Array<NodeKeyframe> keyframes
          the keyframes, sorted by time, ascending
 Node node
          the Node affected by this animation
 
Constructor Summary
NodeAnimation()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

public Node node
the Node affected by this animation


keyframes

public Array<NodeKeyframe> keyframes
the keyframes, sorted by time, ascending

Constructor Detail

NodeAnimation

public NodeAnimation()


Copyright © 2013. All Rights Reserved.