docs.unity.cn
    Show / Hide Table of Contents

    Class SegmentationStencilModeExtension

    Extension for the HumanSegmentationStencilMode.

    Inheritance
    Object
    SegmentationStencilModeExtension
    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 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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023