ドキュメント

Unity Engine

Unity Engine

StaticOcclusionCulling

StaticOcclusionCulling lets you perform static occlusion culling operations.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.