Documentation

Unity Engine

Download Unity

Unity Engine

realtimeGI

Indicates whether Enlighten Realtime Global Illumination is enabled. 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 realtimeGI { 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. In the Editor, it always returns
false
.
To control what the Baked Global Illumination system includes in the bake, use LightingSettings.bakeEnvironmentLighting and LightingSettings.bakeRealtimeEmission instead.