docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SegmentationDepthModeExtension

    Extension for the HumanSegmentationDepthMode.

    Inheritance
    object
    SegmentationDepthModeExtension
    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 SegmentationDepthModeExtension

    Methods

    Enabled(HumanSegmentationDepthMode)

    Determine whether the segmentation depth mode is enabled.

    Declaration
    public static bool Enabled(this HumanSegmentationDepthMode segmentationDepthMode)
    Parameters
    Type Name Description
    HumanSegmentationDepthMode segmentationDepthMode

    The segmentation depth mode to check.

    Returns
    Type Description
    bool

    true if the segmentation 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)