文档

Unity Engine

Unity Engine

respectSceneVisibilityWhenBakingGI

When Unity is precomputing or baking Global Illumination, respect the Scene Visibility setting of a [[GameObject] with a MeshRenderer or Terrain component.
阅读时间1 分钟最后更新于 2 天前

Definition

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.