com.threerings.opengl.model.tools
Class AnimationDef.FrameDef

java.lang.Object
  extended by com.threerings.opengl.model.tools.AnimationDef.FrameDef
Enclosing class:
AnimationDef

public static class AnimationDef.FrameDef
extends Object

A single frame of the animation.


Field Summary
 HashMap<String,AnimationDef.TransformDef> transforms
          Transforms for affected nodes, mapped by name.
 
Constructor Summary
AnimationDef.FrameDef()
           
 
Method Summary
 void addTransform(AnimationDef.TransformDef transform)
          Called by the parser to add a transform to this frame.
 Transform3D[] getTransforms(String[] targets, float scale)
          Returns the transforms for each target.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transforms

public HashMap<String,AnimationDef.TransformDef> transforms
Transforms for affected nodes, mapped by name.

Constructor Detail

AnimationDef.FrameDef

public AnimationDef.FrameDef()
Method Detail

addTransform

public void addTransform(AnimationDef.TransformDef transform)
Called by the parser to add a transform to this frame.


getTransforms

public Transform3D[] getTransforms(String[] targets,
                                   float scale)
Returns the transforms for each target.



Copyright © 2011. All Rights Reserved.