기술 자료

Unity Engine

Unity Engine

renderingLayerMask

Determines which rendering LayerMask this Light affects.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int renderingLayerMask { get; set; }

Remarks

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.