docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EnvironmentDepthModeExtension

    Extension for the EnvironmentDepthMode.

    Inheritance
    object
    EnvironmentDepthModeExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    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
    bool

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

    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)