StaticOcclusionCulling

class in UnityEditor

/

Implemented in:UnityEditor

Description 描述

StaticOcclusionCulling lets you perform static occlusion culling operations.

Static Properties

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 静态方法

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.