# StaticOcclusionCulling

> StaticOcclusionCulling lets you perform static occlusion culling operations.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static class StaticOcclusionCulling
```

## Static Properties

| Property                                                                                                                       | Description                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| [doesSceneHaveManualPortals](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/doesscenehavemanualportals.md) | Does the Scene contain any occlusion portals that were added manually rather than automatically? |
| [isRunning](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/isrunning.md)                                   | Used to check if asynchronous generation of static occlusion culling data is still running.      |
| [umbraDataSize](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/umbradatasize.md)                           | Returns the size in bytes that the PVS data is currently taking up in this Scene on disk.        |

## Static Methods

| Method                                                                                                             | Description                                                              |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| [Cancel](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/cancel.md)                             | Used to cancel asynchronous generation of static occlusion culling data. |
| [Clear](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/clear.md)                               | Clears the PVS of the opened Scene.                                      |
| [Compute](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/compute.md)                           | Used to generate static occlusion culling data.                          |
| [GenerateInBackground](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/generateinbackground.md) | Used to compute static occlusion culling data asynchronously.            |
| [RemoveCacheFolder](/engine/6000.0/script-reference/unityeditor/staticocclusionculling/removecachefolder.md)       | Removes temporary folder used when baking occlusion.                     |
