Documentation

Unity Engine

Unity Engine

Clear()

Removes the baked static occlusion culling data from all loaded scenes.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. StaticOcclusionCulling is deprecated and will be removed in a future release. Consider migrating to GPU Occlusion Culling where your target platform supports it. #from(6000.7)
public static void Clear()

Remarks

Unity also deletes the occlusion culling data asset that a bake creates, and marks the affected scenes as modified.