文档

Unity Engine

Unity Engine

GetSubMesh(int)

Get information about a sub-mesh of the Mesh.
阅读时间1 分钟最后更新于 2 天前

Definition

public SubMeshDescriptor GetSubMesh(int index)

Parameters

index

Sub-mesh index. See Mesh.subMeshCount. Out of range indices throw an exception.

Returns

Type

Description

SubMeshDescriptorSub-mesh data.

Remarks