Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

StaticOcclusionCulling

Namespace: UnityEditor

Description

StaticOcclusionCulling lets you perform static occlusion culling operations.

Static Variables

doesSceneHaveManualPortalsDoes the scene contain any occlusion portals that were added manually rather than automatically?
isRunningUsed to check if asynchronous generation of static occlusion culling data is still running.
umbraDataSizeReturns the size in bytes that the PVS data is currently taking up in this scene on disk.

Static Functions

CancelUsed to cancel asynchronous generation of static occlusion culling data.
ClearClears the PVS of the opened scene.
ComputeUsed to generate static occlusion culling data.
GenerateInBackgroundUsed to compute static occlusion culling data asynchronously.