public class MeshPart
extends java.lang.Object
Mesh
, along with the primitive type.
The vertices subset is described by an offset into
the Mesh's indices array and the number of vertices.Modifier and Type | Field and Description |
---|---|
java.lang.String |
id
unique id within model, may be null (FIXME?)
|
int |
indexOffset
the offset into a Mesh's indices array
|
Mesh |
mesh
the Mesh the part references, also stored in
Model |
int |
numVertices
the number of vertices that make up this part
|
int |
primitiveType
the primitive type, OpenGL constant like GL_TRIANGLES
|
Constructor and Description |
---|
MeshPart() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object arg0) |
public java.lang.String id
public int primitiveType
public int indexOffset
public int numVertices