ドキュメント

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