기술 자료

Unity Engine

Unity Engine

GetLod(int, int)

Gets a Mesh LOD range (index start and index count) for a given Mesh LOD.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public MeshLodRange GetLod(int subMeshIndex, int levelIndex)

Parameters

subMeshIndex

Sub-mesh index to get LOD from.

levelIndex

Level of detail to get range for.

Returns

Type

Description

MeshLodRangeIndex range for the requested level of detail.

Remarks

Note that each Mesh LOD range is relative to the sub-mesh holding the LOD. See MeshLodRange for more information.