Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


renderingLayerMask

Determines which rendering layers the Terrain renderer lives on.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public uint renderingLayerMask { get; set; }

Remarks

When using a Scriptable Render Pipeline, you can specify an additional rendering-specific layer mask. This filters the renderers based on the mask the renderer has, and the mask passed to the DrawRenderers command.