public Rendering.SubMeshDescriptor GetSubMesh (int index);

Parámetros

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

Valor de retorno

SubMeshDescriptor Returns sub-mesh data.

Descripción

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