Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

Renderer.lodGroupMask

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

public uint lodGroupMask;

Description

The LOD levels of the owning LODGroup that use this Renderer, as a bit mask.

Bit n is set when LOD level n of LODGroup uses this Renderer, so a Renderer assigned to several levels has several bits set. A LODGroup supports at most 8 levels, so only the 8 lowest bits are ever set. The mask is 0 when the Renderer does not belong to a LODGroup.