docs.unity.cn
    Show / Hide Table of Contents

    Class SegmentationDepthModeExtension

    Extension for the HumanSegmentationDepthMode.

    Inheritance
    Object
    SegmentationDepthModeExtension
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 12 February 2021