indexStart
Starting point inside the whole Mesh index buffer where the face index data is found.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int indexStart { readonly get; set; }
Remarks
This property, together with SubMeshDescriptor.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 SubMeshDescriptor.topology property, for example the usual MeshTopology.Triangles topology needs three indices for each triangle.
Additional Resources: SubMeshDescriptor.indexCount, Mesh.SetSubMesh, Mesh.GetSubMesh, Mesh.SetIndexBufferParams, Mesh.SetIndexBufferData.