public final class ModelMeshPart
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
Tag
Gets or sets an object identifying this model mesh part.
|
Modifier and Type | Method and Description |
---|---|
Effect |
getEffect() |
IndexBuffer |
getIndexBuffer()
Gets the index buffer for this mesh part.
|
int |
getNumVertices()
Gets the number of vertices used during a draw call.
|
int |
getPrimitiveCount()
Gets the number of primitives to render.
|
int |
getStartIndex()
Gets the location in the index array at which to start reading vertices.
|
VertexBuffer |
getVertexBuffer()
Gets the vertex buffer for this mesh part.
|
int |
getVertexOffset()
Gets the offset (in vertices) from the top of vertex buffer.
|
void |
setEffect(Effect value) |
public java.lang.Object Tag
public Effect getEffect()
public void setEffect(Effect value)
value
- public IndexBuffer getIndexBuffer()
public int getNumVertices()
public int getPrimitiveCount()
public int getStartIndex()
public VertexBuffer getVertexBuffer()
public int getVertexOffset()