|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.animation.Pose
public final class Pose
A pose is a list of offsets that say where a mesh vertices should be for this pose.
Constructor Summary | |
---|---|
Pose()
Serialization-only. |
|
Pose(java.lang.String name,
int targetMeshIndex,
Vector3f[] offsets,
int[] indices)
|
Method Summary | |
---|---|
void |
apply(float blend,
java.nio.FloatBuffer vertbuf)
Applies the offsets of this pose to the vertex buffer given by the blend factor. |
Pose |
clone()
This method creates a clone of the current object. |
int |
getTargetMeshIndex()
|
void |
read(JmeImporter i)
|
void |
write(JmeExporter e)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pose(java.lang.String name, int targetMeshIndex, Vector3f[] offsets, int[] indices)
public Pose()
Method Detail |
---|
public int getTargetMeshIndex()
public void apply(float blend, java.nio.FloatBuffer vertbuf)
blend
- Blend factor, 0 = no change to vertex buffer, 1 = apply full offsetsvertbuf
- Vertex buffer to apply this pose topublic Pose clone()
clone
in class java.lang.Object
public void write(JmeExporter e) throws java.io.IOException
write
in interface Savable
java.io.IOException
public void read(JmeImporter i) throws java.io.IOException
read
in interface Savable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |