be.saltwater.jaqel.creature
Class AttributeAnimation

java.lang.Object
  extended bybe.saltwater.jaqel.creature.AttributeAnimation

public class AttributeAnimation
extends java.lang.Object

An AttributeAnimation is useless without a KeyFrameAnimation. Together they form a CreatureAnimation. The KeyFrameAnimation contains the speed for both of them. An AttributeAnimation contains the positions for the attributes at a certain location (for example the right hand).

See Also:
KeyFrameAnimation, AttributeAnimation

Constructor Summary
AttributeAnimation(javax.vecmath.Point3f[] translation, javax.vecmath.Point3f[] rotation)
           
 
Method Summary
 javax.vecmath.Matrix4f[] getTransformation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeAnimation

public AttributeAnimation(javax.vecmath.Point3f[] translation,
                          javax.vecmath.Point3f[] rotation)
Parameters:
translation - The point in local coordinates to which an attribute should be translated for the key frame in the same index.
rotation - The point in local coordinates to which an attribute should look at from it's translated position for the key frame in the same index.
Method Detail

getTransformation

public javax.vecmath.Matrix4f[] getTransformation()