Light.renderingLayerMask

Cambiar al Manual
public int renderingLayerMask ;

Descripción

Determines which rendering LayerMask this Light affects.

When using a Scriptable Render Pipeline, you can specify an additional rendering-specific LayerMask. During shadow passes, this filters Renderers based on the Light and the Renderers rendering LayerMask.