文档

Unity Engine

Unity Engine

GetSubMesh(int)

Gets data about a given sub-mesh in the MeshData.
阅读时间1 分钟最后更新于 1 天前

Definition

public SubMeshDescriptor GetSubMesh(int index)

Parameters

index

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

Returns

Type

Description

SubMeshDescriptorReturns sub-mesh data.

Remarks