|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.graphics.g3d.model.MeshPart
public class MeshPart
A mesh part is composed of a subset of vertices
of a 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.
Field Summary | |
---|---|
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 Summary | |
---|---|
MeshPart()
|
Method Summary | |
---|---|
boolean |
equals(Object arg0)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String id
public int primitiveType
public int indexOffset
public int numVertices
public Mesh mesh
Model
Constructor Detail |
---|
public MeshPart()
Method Detail |
---|
public boolean equals(Object arg0)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |