Parameter | Description |
---|---|
subMeshIndex | Sub-mesh to set LOD for. |
level | Level to set. |
levelRange | Range for the set LOD. |
flags | Mesh update flags. If set to DontValidateIndices, then index range validation is skipped. |
Sets a Mesh LOD range (index start and index count) for a given sub-mesh and level of detail.
Note that the Mesh LOD range should be relative to the sub-mesh holding the LOD. See MeshLodRange for more information.