기술 자료

Unity Engine

Unity Engine

GetSubMesh(int)

Gets data about a given sub-mesh in the MeshData.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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