Modifier and Type | Method and Description |
---|---|
Mesh |
Mesh.copy(boolean isStatic)
Copies this mesh.
|
Mesh |
Mesh.copy(boolean isStatic,
boolean removeDuplicates,
int[] usage)
Copies this mesh optionally removing duplicate vertices and/or reducing the amount of attributes.
|
Mesh |
Mesh.setIndices(short[] indices)
Sets the indices of this Mesh
|
Mesh |
Mesh.setIndices(short[] indices,
int offset,
int count)
Sets the indices of this Mesh.
|
Mesh |
Mesh.setVertices(float[] vertices)
Sets the vertices of this Mesh.
|
Mesh |
Mesh.setVertices(float[] vertices,
int offset,
int count)
Sets the vertices of this Mesh.
|
Mesh |
Mesh.updateVertices(int targetOffset,
float[] source)
Update (a portion of) the vertices.
|
Mesh |
Mesh.updateVertices(int targetOffset,
float[] source,
int sourceOffset,
int count)
Update (a portion of) the vertices.
|
Modifier and Type | Field and Description |
---|---|
Mesh |
Renderable.mesh
The
Mesh which contains the part to render |
Modifier and Type | Field and Description |
---|---|
Array<Mesh> |
Model.meshes
the meshes of the model
|
Modifier and Type | Field and Description |
---|---|
Mesh |
MeshPart.mesh
The Mesh the part references, also stored in
Model |
Constructor and Description |
---|
MeshPart(java.lang.String id,
Mesh mesh,
int offset,
int size,
int type)
Construct a new MeshPart and set all its values.
|
Modifier and Type | Field and Description |
---|---|
protected Mesh |
MeshSpawnShapeValue.mesh |
Modifier and Type | Method and Description |
---|---|
void |
MeshSpawnShapeValue.setMesh(Mesh mesh) |
void |
MeshSpawnShapeValue.setMesh(Mesh mesh,
Model model) |
void |
UnweightedMeshSpawnShapeValue.setMesh(Mesh mesh,
Model model) |
Modifier and Type | Method and Description |
---|---|
Mesh |
MeshBuilder.end()
End building the mesh and returns the mesh
|
Mesh |
MeshBuilder.end(Mesh mesh)
End building the mesh and returns the mesh
|
Modifier and Type | Method and Description |
---|---|
void |
MeshBuilder.addMesh(Mesh mesh) |
void |
MeshPartBuilder.addMesh(Mesh mesh)
Copies a mesh to the mesh (part) currently being build.
|
void |
MeshBuilder.addMesh(Mesh mesh,
int indexOffset,
int numIndices) |
void |
MeshPartBuilder.addMesh(Mesh mesh,
int indexOffset,
int numIndices)
Copies a (part of a) mesh to the mesh (part) currently being build.
|
Mesh |
MeshBuilder.end(Mesh mesh)
End building the mesh and returns the mesh
|
MeshPart |
ModelBuilder.part(java.lang.String id,
Mesh mesh,
int primitiveType,
int offset,
int size,
Material material)
Adds the specified mesh part to the current node.
|
MeshPart |
ModelBuilder.part(java.lang.String id,
Mesh mesh,
int primitiveType,
Material material)
Adds the specified mesh part to the current node.
|