Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

CullingSplitMask

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Flags used by DrawingSettings.splitMask to filter rendered objects by their split culling region.

When ScriptableCullingParameters.splitPlaneCount is greater than zero, the culling system classifies each visible object by comparing its bounds against the split culling planes. Each flag selects which region of objects a draw call should include.

This enum uses the same per-object split mask infrastructure as shadow cascade splits. When ScriptableCullingParameters.splitPlaneCount is zero, the entire split path is skipped and DrawingSettings.splitMask has no effect.

Additional resources: DrawingSettings.splitMask, ScriptableCullingParameters.splitPlaneCount, ScriptableCullingParameters.SetSplitCullingPlane.

Properties

Property Description
DrawNoneExclude all objects from the draw call, regardless of split region.
DrawCullingOnlyInclude only objects that are inside the culling (wide) frustum but outside the split (foveal) planes.
DrawSplitOnlyInclude only objects that are inside the split (foveal) planes.
DrawAllInclude all visible objects regardless of split region.