GetSubMesh(int)
Get information about a sub-mesh of the Mesh.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public SubMeshDescriptor GetSubMesh(int index)
Parameters
Sub-mesh index. See Mesh.subMeshCount. Out of range indices throw an exception.
Returns
Type | Description |
|---|---|
| SubMeshDescriptor | Sub-mesh data. |