espresso3d.engine.world.sector.actor.skeleton.animation
Class E3DAnimationCommand
java.lang.Object
espresso3d.engine.base.E3DEngineItem
espresso3d.engine.world.sector.actor.skeleton.animation.E3DAnimationCommand
- public class E3DAnimationCommand
- extends E3DEngineItem
- Author:
- Curt
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
E3DAnimationCommand
public E3DAnimationCommand(E3DEngine engine,
java.lang.String boneGroupID,
java.lang.String boneID)
E3DAnimationCommand
public E3DAnimationCommand(E3DAnimationCommand toCopyCommand)
getKeyFrame
public E3DAnimationKeyFrame getKeyFrame()
setKeyFrame
public void setKeyFrame(E3DAnimationKeyFrame keyFrame)
- The keyframe gets set automatically when added to a keyframe
- Parameters:
keyFrame -
executeCommand
public void executeCommand(double timeLeftToPerform,
double lastFrameTimeSeconds)
- This will take a bone (and all sub bones) from where it is currently, to where it should be within timeLeftToPerform.
It will interpolate the move over the keyframe's time
- Parameters:
timeLeftToPerform - lastFrameTimeSeconds -
getBoneFinishPosition
public E3DVector3F getBoneFinishPosition()
getBoneGroupID
public java.lang.String getBoneGroupID()
getBoneID
public java.lang.String getBoneID()