Version: Unity 6.2 (6000.2)
LanguageEnglish
  • C#

Mesh.MeshData.SetLod

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Declaration

public void SetLod(int submesh, int level, MeshLodRange levelRange, Rendering.MeshUpdateFlags flags);

Parameters

Parameter Description
submesh Submesh to set LOD for.
level Level to set.
levelRange Index range for the set LOD.
flags Mesh LOD update flags. If set to DontValidateIndices, then index range validation is skipped.

Description

Set a Mesh LOD range for a given submesh and level of detail.