|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.animation.Skeleton
public final class Skeleton
Skeleton
is a convenience class for managing a bone hierarchy.
Skeleton updates the world transforms to reflect the current local
animated matrixes.
コンストラクタの概要 | |
---|---|
Skeleton()
Serialization only. |
|
Skeleton(Bone[] boneList)
Creates a skeleton from a bone list. |
|
Skeleton(Skeleton source)
Special-purpose copy constructor. |
メソッドの概要 | |
---|---|
Matrix4f[] |
computeSkinningMatrices()
Compute the skining matrices for each bone of the skeleton that would be used to transform vertices of associated meshes |
Bone |
getBone(int index)
return a bone for the given index |
Bone |
getBone(java.lang.String name)
returns the bone with the given name |
int |
getBoneCount()
returns the number of bones of this skeleton |
int |
getBoneIndex(Bone bone)
returns the bone index of the given bone |
int |
getBoneIndex(java.lang.String name)
returns the bone index of the bone that has the given name |
Bone[] |
getRoots()
returns the array of all root bones of this skeleton |
void |
read(JmeImporter im)
|
void |
reset()
Reset the skeleton to bind pose. |
void |
resetAndUpdate()
Reset the skeleton to bind pose and updates the bones |
void |
setBindingPose()
Saves the current skeleton state as it's binding pose. |
java.lang.String |
toString()
|
void |
updateWorldVectors()
Updates world transforms for all bones in this skeleton. |
void |
write(JmeExporter ex)
|
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public Skeleton(Bone[] boneList)
Note that using this constructor will cause the bones in the list to have their bind pose recomputed based on their local transforms.
boneList
- The list of bones to manage by this Skeletonpublic Skeleton(Skeleton source)
Shallow copies bind pose data from the source skeleton, does not copy any other data.
source
- The source Skeleton to copy frompublic Skeleton()
メソッドの詳細 |
---|
public void updateWorldVectors()
public void setBindingPose()
public final void reset()
public final void resetAndUpdate()
public Bone[] getRoots()
public Bone getBone(int index)
index
-
public Bone getBone(java.lang.String name)
name
-
public int getBoneIndex(Bone bone)
bone
-
public int getBoneIndex(java.lang.String name)
name
-
public Matrix4f[] computeSkinningMatrices()
public int getBoneCount()
public java.lang.String toString()
java.lang.Object
内の toString
public void read(JmeImporter im) throws java.io.IOException
Savable
内の read
java.io.IOException
public void write(JmeExporter ex) throws java.io.IOException
Savable
内の write
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |