Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StaticOcclusionCullingVisualization

Used to visualize static occlusion culling at development time in Scene view.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
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.