|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.renderer.base.E3DRenderable
espresso3d.engine.world.sector.actor.skeleton.E3DSkeleton
| Constructor Summary | |
E3DSkeleton(E3DEngine engine)
|
|
E3DSkeleton(E3DSkeleton toCopySkeleton)
|
|
| Method Summary | |
void |
addAnimation(E3DAnimation animation)
|
void |
addBoneGroup(E3DBone rootBone,
java.lang.String boneGroupID)
A bone group specifies the root bone for a hierarchy of bones and a groupID for that hierarchy of bones. |
E3DActor |
getActor()
|
java.util.HashMap |
getAnimations()
|
E3DBone |
getBoneGroup(java.lang.String boneGroupID)
Returns the root bone for a bone group named boneGroupID |
java.util.HashMap |
getBoneGroups()
|
java.util.ArrayList |
getCurrentAnimations()
|
void |
removeAnimation(java.lang.String animationID)
|
void |
removeBoneGroup(java.lang.String boneGroupID)
Removes a set of bones from the skeleton defined as boneGroupID |
void |
render()
|
void |
resetAll()
Resets all bones in the skeleton to their start position |
void |
resetBoneGroup(java.lang.String boneGroupID)
Reset a given boneGroup to its startPosition |
void |
rotateBoneGroup(java.lang.String boneGroupID,
double angle,
E3DVector3F aroundVec)
|
void |
rotateWithoutVertices(double angle,
E3DVector3F aroundVec)
|
void |
rotateWithVertices(double angle,
E3DVector3F aroundVec)
|
void |
setActor(E3DActor actor)
|
void |
startAnimation(java.lang.String animationID)
|
void |
translateWithoutVertices(E3DVector3F translationAmt)
|
void |
translateWithVertices(E3DVector3F translationAmt)
|
void |
update(double lastFrameTimeSeconds)
|
| Methods inherited from class espresso3d.engine.renderer.base.E3DRenderable |
getBlendMode, getKey, getRenderMode, initCorrectGeometryRenderer, isKeyChanged, setBlendMode, setKeyChanged, setRenderMode |
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public E3DSkeleton(E3DEngine engine)
public E3DSkeleton(E3DSkeleton toCopySkeleton)
| Method Detail |
public void render()
render in class E3DRenderable
public void addBoneGroup(E3DBone rootBone,
java.lang.String boneGroupID)
rootBone - A bone that serves as the root bone for the groupboneGroupID - ID for the grouppublic E3DBone getBoneGroup(java.lang.String boneGroupID)
boneGroupID - Name of the bone group
public void removeBoneGroup(java.lang.String boneGroupID)
boneGroupID - public E3DActor getActor()
public void rotateBoneGroup(java.lang.String boneGroupID,
double angle,
E3DVector3F aroundVec)
public void rotateWithVertices(double angle,
E3DVector3F aroundVec)
public void rotateWithoutVertices(double angle,
E3DVector3F aroundVec)
public void translateWithVertices(E3DVector3F translationAmt)
public void translateWithoutVertices(E3DVector3F translationAmt)
public void resetBoneGroup(java.lang.String boneGroupID)
boneGroupID - public void resetAll()
public java.util.HashMap getAnimations()
public void addAnimation(E3DAnimation animation)
public void removeAnimation(java.lang.String animationID)
public void startAnimation(java.lang.String animationID)
public java.util.HashMap getBoneGroups()
public java.util.ArrayList getCurrentAnimations()
public void update(double lastFrameTimeSeconds)
public void setActor(E3DActor actor)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||