Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enableSpotReflector

Wether a Spot Light should simulate having a reflector.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool enableSpotReflector { get; set; }

Remarks

When enabled, indicates that the Spot Light intensity should be simulated using a reflector. This means the narrower the Outer Angle, the more intense the Spot Light. When disabled, the intensity of the Light should match that of a Point Light and thus remains constant regardless of the Outer Angle. Only relevant for Spot Lights measued in LightUnit.Lumen. Only Scriptable Render Pipelines use this property; the built-in renderer does not support it.
Additional Resources: LightUnit, Light component.