Mesh AddSubMesh (Material material, int startIndex, int indexCount, int startVertex, int vertexCount)

Parameters

NameTypeDescription
material Material Material to draw this range with.
startIndex int First index of the range to draw.
indexCount int Number of indices to draw.
startVertex = 0 int Base vertex offset. Defaults to the whole vertex buffer when zero.
vertexCount = 0 int Number of vertices referenced. Defaults to the whole vertex buffer when zero.

Returns

TypeDescription
Mesh
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.