Version: 2020.2
public Rendering.SubMeshDescriptor GetSubMesh (int index);

参数

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

返回

SubMeshDescriptor Returns sub-mesh data.

描述

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