docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023