Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MeshLodRange

Index range (start index and index count) describing a single Mesh LOD within a Mesh. The index range is relative to the sub-mesh holding the LOD. Add SubMeshDescriptor.indexStart to this range to calculate the absolute position of the LOD within the whole index buffer. Additional Resources: Mesh.SetLod, Mesh.SetLods.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public struct MeshLodRange

Constructors

Constructor

Description

MeshLodRange(System.UInt32,System.UInt32)Create a MeshLodRange.

Properties

Property

Description

indexCountThis property, together with , determines which part of the whole index buffer is used by a particular Mesh LOD.
indexStartThis property, together with , determines which part of the whole index buffer is used by a particular Mesh LOD.