Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


luxAtDistance

How far away to measure LightUnit.Lux from.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float luxAtDistance { get; set; }

Remarks

Indicates the distance, in meters, where a surface should receive the amount of light equivalent to the provided number of LightUnit.Lux. Only relevant for lights with range attenuation & intensity measured in LightUnit.Lux. Only Scriptable Render Pipelines use this property; the built-in renderer does not support it.
Additional Resources: LightUnit, Light component.