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.
Property | Description |
---|---|
indexCount | This property, together with indexStart, determines which part of the whole index buffer is used by a particular Mesh LOD. This should be a positive number or zero.Additional resources: indexStart, Mesh.SetLod, Mesh.SetLods. |
indexStart | This property, together with indexCount, determines which part of the whole index buffer is used by a particular Mesh LOD. The index start is relative to the sub-mesh holding the LOD. This should be a positive number or zero.Additional resources: indexCount, Mesh.SetLod, Mesh.SetLods. |
Constructor | Description |
---|---|
MeshLodRange | Create a MeshLodRange. |