docs.unity.cn
    Show / Hide Table of Contents

    Class EnvironmentDepthModeExtension

    Extension for the EnvironmentDepthMode.

    Inheritance
    Object
    EnvironmentDepthModeExtension
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public static class EnvironmentDepthModeExtension

    Methods

    Enabled(EnvironmentDepthMode)

    Determine whether the environment depth mode is enabled.

    Declaration
    public static bool Enabled(this EnvironmentDepthMode environmentDepthMode)
    Parameters
    Type Name Description
    EnvironmentDepthMode environmentDepthMode

    The environment depth mode to check.

    Returns
    Type Description
    Boolean

    true if the environment depth mode is enabled. Otherwise, false.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, November 7, 2022
    Terms of use