Version: 2023.1
public bool realtimeGI ;

描述

Whether to enable the Enlighten Realtime Global Illumination system for this Scene.

When this is set to true, this Scene uses the Enlighten Realtime Global Illumination system. When this is set to false, this Scene does not use the Enlighten Realtime Global Illumination system.

When Unity serializes this LightingSettings object as a Lighting Settings Asset, this property corresponds to the Realtime GI property in the Lighting Settings Asset Inspector.

See Also: Lighting Settings Asset, Realtime Global Illumination.