org.xith3d.loaders.models.util.animations
Class AnimationTools
java.lang.Object
org.xith3d.loaders.models.util.animations.AnimationTools
public class AnimationTools
- extends java.lang.Object
Utility methods for model animatios.
|
Method Summary |
static MeshTransformKeyFrameController |
createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis,
boolean backwards,
int numFrames,
float animDuration,
TransformGroup target)
|
static MeshTransformKeyFrameController |
createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis,
float startAngle,
float stopAngle,
boolean backwards,
int numFrames,
float animDuration,
TransformGroup target)
|
static void |
precomputeAnimations(Model model,
float fps)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnimationTools
public AnimationTools()
precomputeAnimations
public static void precomputeAnimations(Model model,
float fps)
createRotationalKeyFrameController
public static MeshTransformKeyFrameController createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis,
float startAngle,
float stopAngle,
boolean backwards,
int numFrames,
float animDuration,
TransformGroup target)
createRotationalKeyFrameController
public static MeshTransformKeyFrameController createRotationalKeyFrameController(org.openmali.vecmath2.Vector3f axis,
boolean backwards,
int numFrames,
float animDuration,
TransformGroup target)