org.xith3d.loaders.models.animations
Class KeyFrameController
java.lang.Object
org.xith3d.loaders.models.animations.KeyFrameController
- Direct Known Subclasses:
- BoneAnimationKeyFrameController, MeshDeformationKeyFrameController, MeshTransformKeyFrameController, PrecomputedAnimationKeyFrameController
public abstract class KeyFrameController
- extends java.lang.Object
Insert type comment here.
|
Method Summary |
protected boolean |
checkUpdateConditions(boolean forced,
float absAnimTime,
int frame,
float animDuration)
|
org.jagatoo.loaders.models._util.AnimationType |
getAnimationType()
|
KeyFrame |
getKeyFrame(int index)
|
KeyFrame[] |
getKeyFrames()
|
int |
getNumFrames()
|
abstract java.lang.Object |
getTarget()
|
void |
reset()
|
abstract KeyFrameController |
sharedCopy(java.util.Map<java.lang.String,org.jagatoo.datatypes.NamedObject> namedObjects)
|
void |
update(boolean forced,
float absAnimTime,
int baseFrame,
int nextFrame,
float alpha,
ModelAnimation animation)
|
int |
update(boolean forced,
float absAnimTime,
ModelAnimation animation)
|
protected abstract void |
updateTarget(float absAnimTime,
int baseFrame,
int nextFrame,
float alpha,
ModelAnimation animation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyFrameController
public KeyFrameController(org.jagatoo.loaders.models._util.AnimationType animType,
KeyFrame[] frames)
getAnimationType
public final org.jagatoo.loaders.models._util.AnimationType getAnimationType()
getNumFrames
public final int getNumFrames()
getKeyFrames
public final KeyFrame[] getKeyFrames()
getKeyFrame
public final KeyFrame getKeyFrame(int index)
getTarget
public abstract java.lang.Object getTarget()
reset
public void reset()
checkUpdateConditions
protected boolean checkUpdateConditions(boolean forced,
float absAnimTime,
int frame,
float animDuration)
updateTarget
protected abstract void updateTarget(float absAnimTime,
int baseFrame,
int nextFrame,
float alpha,
ModelAnimation animation)
update
public void update(boolean forced,
float absAnimTime,
int baseFrame,
int nextFrame,
float alpha,
ModelAnimation animation)
update
public int update(boolean forced,
float absAnimTime,
ModelAnimation animation)
sharedCopy
public abstract KeyFrameController sharedCopy(java.util.Map<java.lang.String,org.jagatoo.datatypes.NamedObject> namedObjects)