Compute()
Used to generate static occlusion culling data.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool Compute()
Returns
Type | Description |
|---|---|
| bool |
Remarks
This function will run asynchronously until the data is generated but you can check the status of the computation using the StaticOcclusionCulling.isRunning property.
The memory limit (specified in bytes) is a hint to the PVS baking system about the likely memory requirements.
Additional Resources: StaticOcclusionCulling.GenerateInBackground, StaticOcclusionCulling.isRunning.