org.jagatoo.loaders.models.tds.internal
Class PosTransform

java.lang.Object
  extended by org.jagatoo.loaders.models.tds.internal.PosTransform

public class PosTransform
extends java.lang.Object

A transform group that maintains a postion interpolated across a set of key frames


Constructor Summary
PosTransform()
           
 
Method Summary
 void addKeyFrame(int frameIndex, float time, org.openmali.vecmath2.Vector3f pos)
           
 int getFrameByFrameNumber(int frameNumber)
           
 void getTranslationAtTime(float time, org.openmali.vecmath2.Vector3f translation)
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PosTransform

public PosTransform()
Method Detail

addKeyFrame

public void addKeyFrame(int frameIndex,
                        float time,
                        org.openmali.vecmath2.Vector3f pos)

getFrameByFrameNumber

public int getFrameByFrameNumber(int frameNumber)

getTranslationAtTime

public void getTranslationAtTime(float time,
                                 org.openmali.vecmath2.Vector3f translation)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object