docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpdateTypesExtensions

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

    Inheritance
    object
    UpdateTypesExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Hands
    Assembly: Unity.XR.Hands.dll
    Syntax
    public static class UpdateTypesExtensions

    Methods

    IsSet(UpdateTypes, 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
    bool

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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)