public Rendering.SubMeshDescriptor GetSubMesh (int index);

Parameters

indexThe index of the sub-mesh. See subMeshCount. If you specify an out of range index, Unity throws an exception.

Returns

SubMeshDescriptor Returns sub-mesh data.

Description

Gets data about a given sub-mesh in the MeshData.