GetIndexStart
Gets the starting index location within the Mesh's index buffer, for the given /sub-mesh/.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
GetIndexStart(int)
Gets the starting index location within the Mesh's index buffer, for the given /sub-mesh/.
public uint GetIndexStart(int submesh)
Parameters
Returns
Type | Description |
|---|---|
| uint |
Remarks
Additional Resources: Mesh.SetIndices, Mesh.GetIndexCount.
GetIndexStart(int, int)
Gets the starting index location within the Mesh's index buffer, for the given /sub-mesh/ and level of detail.
public uint GetIndexStart(int submesh, int meshLod)
Parameters
Returns
Type | Description |
|---|---|
| uint |