docs.unity.cn
    Show / Hide Table of Contents

    Class SegmentationDepthModeExtension

    Extension for the HumanSegmentationDepthMode.

    Inheritance
    Object
    SegmentationDepthModeExtension
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARSubsystems
    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
    Boolean

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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023