|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMesh
IMesh defines the interface of a mesh in the model.
It maintains a number of vertices that compose a number of
triangles. And each vertex is affected with a weight.
| Method Summary | |
|---|---|
IMesh |
clone(IJoint[] clonedJoints)
Clone this mesh. |
IVertex |
getVertex(int index)
Retrieve the vertex with given index number. |
IWeight |
getWeight(int index)
Retrieve the weight with given index number. |
void |
initialize(java.lang.String name)
Initialize this mesh and its geometric data. |
void |
setJoints(IJoint[] joints)
Set this mesh to use the given joints. |
void |
swapBuffer()
Swap the vertex information buffers. |
void |
updateMesh()
Update this mesh and its geometric data. |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag, read, write |
| Method Detail |
|---|
void initialize(java.lang.String name)
name - The parent MD5 node String name.void updateMesh()
void swapBuffer()
void setJoints(IJoint[] joints)
joints - The array of IJoint to be used.IVertex getVertex(int index)
index - The Integer index number of the IVertex.
IVertex instance with given index number.IWeight getWeight(int index)
index - The Integer index number of the Weight.
Weight instance with given index number.IMesh clone(IJoint[] clonedJoints)
clonedJoints - The array of cloned IJoint.
IMesh
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||