文档

Unity Engine

Unity Engine

Clear()

Removes the baked static occlusion culling data from all loaded scenes.
阅读时间1 分钟最后更新于 6 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
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.