|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmex.model.ogrexml.anim.Skeleton
public final class Skeleton
A skeleton is a hierarchy of bones. Skeleton updates the world transforms to reflect the current local animated matrixes.
Constructor Summary | |
---|---|
Skeleton()
Used for binary loading as a Savable; the object must be constructed, then the parameters usually present in the constructor for this class are restored from the file the object was saved to. |
|
Skeleton(Bone[] boneList)
Creates a skeleton from a bone list. |
|
Skeleton(Skeleton source)
Copy constructor. |
Method Summary | |
---|---|
Matrix4f[] |
computeSkinningMatrices()
|
Bone |
getBone(int index)
|
Bone |
getBone(java.lang.String name)
|
int |
getBoneCount()
|
int |
getBoneIndex(Bone bone)
|
java.lang.Class |
getClassTag()
|
Bone |
getRoot()
|
void |
read(JMEImporter im)
|
void |
sendToShader(GLSLShaderObjectsState shader)
|
void |
write(JMEExporter ex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Skeleton(Bone[] boneList)
boneList
- public Skeleton(Skeleton source)
source
- public Skeleton()
Method Detail |
---|
public Bone getRoot()
public Bone getBone(int index)
public Bone getBone(java.lang.String name)
public int getBoneIndex(Bone bone)
public Matrix4f[] computeSkinningMatrices()
public int getBoneCount()
public void sendToShader(GLSLShaderObjectsState shader)
public java.lang.Class getClassTag()
getClassTag
in interface Savable
public void read(JMEImporter im) throws java.io.IOException
read
in interface Savable
java.io.IOException
public void write(JMEExporter ex) throws java.io.IOException
write
in interface Savable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |