Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StaticOcclusionCulling

StaticOcclusionCulling lets you perform static occlusion culling operations.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static class StaticOcclusionCulling

Static Properties

Property

Description

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 Methods

Method

Description

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.
RemoveCacheFolderRemoves temporary folder used when baking occlusion.