Documentation

Unity Engine

Download Unity

Unity Engine

realtimeEnvironmentLighting

Determines whether Unity stores environment lighting in Enlighten real-time lightmaps. This property is obsolete and has no effect.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. Enlighten realtime Global Illumination is deprecated and will be removed in a future release. #from(6000.7)
public bool realtimeEnvironmentLighting { get; set; }

Remarks

Unity no longer supports Enlighten Realtime Global Illumination. This property has no effect, and Unity keeps it only so that existing data stays compatible.
To include or exclude environment lighting in baked lightmaps and Light Probes, use LightingSettings.bakeEnvironmentLighting instead.