respectSceneVisibilityWhenBakingGI
When Unity is precomputing or baking Global Illumination, respect the Scene Visibility setting of a [[GameObject] with a MeshRenderer or Terrain component.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool respectSceneVisibilityWhenBakingGI { get; set; }
Remarks
This property requires that a SceneView be present in the editor for it to have any effect; this includes while in batch mode. See EditorWindow and SceneVisibilityManager for more information.