SubMeshDescriptor.indexStart

public int indexStart;

Description

Starting point inside the whole Mesh index buffer where the face index data is found.

This property, together with indexCount, determines which part of the whole index buffer is used by a particular sub-mesh. Values in the index buffer are interpreted according to the topology property, for example the usual MeshTopology.Triangles topology needs three indices for each triangle.

Additional resources: indexCount, Mesh.SetSubMesh, Mesh.GetSubMesh, Mesh.SetIndexBufferParams, Mesh.SetIndexBufferData.


Did you find this page useful? Please give it a rating: