com.threed.jpct.skeleton
Class TranslationKeyframe

java.lang.Object
  extended by com.threed.jpct.skeleton.TranslationKeyframe

public class TranslationKeyframe
extends java.lang.Object

Encapsulates a translation keyframe. The translation is stored in a vector.

Author:
mcgreevyj

Field Summary
 float time
           
 float[] translation
           
 
Constructor Summary
TranslationKeyframe()
           
 
Method Summary
 void setTranslation(float x, float y, float z)
          Sets the translation vector of the keyframe.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

public float time

translation

public float[] translation
Constructor Detail

TranslationKeyframe

public TranslationKeyframe()
Method Detail

setTranslation

public void setTranslation(float x,
                           float y,
                           float z)
Sets the translation vector of the keyframe.

Parameters:
x -
y -
z -