GetIndexStart
Gets the starting index location within the Mesh's index buffer, for the given /sub-mesh/.
阅读时间1 分钟最后更新于 1 个月前
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 |