docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CameraSettings.Culling

    Defines the culling settings of the camera.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)