ドキュメント

Unity Engine

Unity Engine

GetLod(int, int)

Gets a Mesh LOD range (index start and index count) for a given Mesh LOD.
読み終わるまでの所要時間 1 分最終更新 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.