docs.unity.cn
    Show / Hide Table of Contents

    Class SegmentationStencilModeExtension

    Extension for the HumanSegmentationStencilMode.

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

    Methods

    Enabled(HumanSegmentationStencilMode)

    Determine whether the segmentation stencil mode is enabled.

    Declaration
    public static bool Enabled(this HumanSegmentationStencilMode segmentationStencilMode)
    Parameters
    Type Name Description
    HumanSegmentationStencilMode segmentationStencilMode

    The segmentation stencil mode to check.

    Returns
    Type Description
    Boolean

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

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