Struct CameraSettings.Culling
Defines the culling settings of the camera.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
public struct Culling
Fields
cullingMask
The mask for visible objects.
Declaration
public LayerMask cullingMask
Field Value
Type | Description |
---|---|
LayerMask |
default
Default value.
Declaration
[Obsolete("Since 2019.3, use Culling.NewDefault() instead.")]
public static readonly CameraSettings.Culling default
Field Value
Type | Description |
---|---|
CameraSettings.Culling |
sceneCullingMaskOverride
Scene culling mask override.
Declaration
public ulong sceneCullingMaskOverride
Field Value
Type | Description |
---|---|
UInt64 |
useOcclusionCulling
True when occlusion culling will be performed during rendering, false otherwise.
Declaration
public bool useOcclusionCulling
Field Value
Type | Description |
---|---|
Boolean |
Methods
NewDefault()
Default value.
Declaration
public static CameraSettings.Culling NewDefault()
Returns
Type | Description |
---|---|
CameraSettings.Culling | The default value. |