Struct CameraSettings.Culling
Defines the culling settings of the camera.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct CameraSettings.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 |
---|---|
ulong |
useOcclusionCulling
True when occlusion culling will be performed during rendering, false otherwise.
Declaration
public bool useOcclusionCulling
Field Value
Type | Description |
---|---|
bool |
Methods
NewDefault()
Default value.
Declaration
public static CameraSettings.Culling NewDefault()
Returns
Type | Description |
---|---|
CameraSettings.Culling | The default value. |