docs.unity.cn
    Show / Hide Table of Contents

    Class UpdateTypesExtensions

    Extension methods to check if a flag is set in the XRHandTrackingEvents.UpdateTypes enum.

    Inheritance
    Object
    UpdateTypesExtensions
    Namespace: UnityEngine.XR.Hands
    Syntax
    public static class UpdateTypesExtensions

    Methods

    IsSet(XRHandTrackingEvents.UpdateTypes, XRHandTrackingEvents.UpdateTypes)

    Checks if the specific flag is set in this flags enum.

    Declaration
    public static bool IsSet(this XRHandTrackingEvents.UpdateTypes self, XRHandTrackingEvents.UpdateTypes flag)
    Parameters
    Type Name Description
    XRHandTrackingEvents.UpdateTypes self

    The flags.

    XRHandTrackingEvents.UpdateTypes flag

    The flag to check for.

    Returns
    Type Description
    Boolean

    Returns true if the flag is set in this flags enum.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, June 1, 2023