文档

Unity Engine

Unity Engine

StaticOcclusionCullingVisualization

Used to visualize static occlusion culling at development time in Scene view.
阅读时间1 分钟最后更新于 24 天前

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Deprecated. StaticOcclusionCullingVisualization 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 class StaticOcclusionCullingVisualization

Static Properties

Property

Description

showGeometryCullingIf set to true, culling of geometry is enabled.
showOcclusionCullingIf set to true, visualization of target volumes is enabled.
showPortalsIf set to true, visualization of portals is enabled.
showPreVisualizationIf set to true, the visualization lines of the PVS volumes will show all cells rather than cells after culling.
showViewVolumesIf set to true, visualization of view volumes is enabled.
showVisibilityLinesIf set to true, visualization of portals is enabled.