文档

Unity Engine

Unity Engine

realtimeGI

Whether to enable the Enlighten Realtime Global Illumination system for this Scene.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

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.