文档

Unity Engine

Unity Engine

GetSubMesh(int)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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