docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRCommonHandGestures.MicrogestureUpdatedEventArgs

    Event-args type for when one or more microgestures become active or inactive.

    Inheritance
    object
    XRCommonHandGestures.MicrogestureUpdatedEventArgs
    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 class XRCommonHandGestures.MicrogestureUpdatedEventArgs
    Remarks

    XRCommonHandGestures reuses one instance per hand. Its properties read the current state of commonGestures, so read them inside the microgestureUpdated listener.

    Properties

    commonGestures

    The common gestures that raised this event.

    Declaration
    public XRCommonHandGestures commonGestures { get; }
    Property Value
    Type Description
    XRCommonHandGestures
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    handedness

    Which hand is being updated.

    Declaration
    public Handedness handedness { get; }
    Property Value
    Type Description
    Handedness
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeBackwardActive

    Whether a backward thumb swipe is active as of the latest dynamic update.

    Declaration
    public bool swipeBackwardActive { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeBackwardCompletedThisFrame

    Whether a backward thumb swipe became inactive in the latest dynamic update.

    Declaration
    public bool swipeBackwardCompletedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeBackwardPerformedThisFrame

    Whether a backward thumb swipe became active in the latest dynamic update.

    Declaration
    public bool swipeBackwardPerformedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeForwardActive

    Whether a forward thumb swipe is active as of the latest dynamic update.

    Declaration
    public bool swipeForwardActive { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeForwardCompletedThisFrame

    Whether a forward thumb swipe became inactive in the latest dynamic update.

    Declaration
    public bool swipeForwardCompletedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeForwardPerformedThisFrame

    Whether a forward thumb swipe became active in the latest dynamic update.

    Declaration
    public bool swipeForwardPerformedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeLeftActive

    Whether a left thumb swipe is active as of the latest dynamic update.

    Declaration
    public bool swipeLeftActive { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeLeftCompletedThisFrame

    Whether a left thumb swipe became inactive in the latest dynamic update.

    Declaration
    public bool swipeLeftCompletedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeLeftPerformedThisFrame

    Whether a left thumb swipe became active in the latest dynamic update.

    Declaration
    public bool swipeLeftPerformedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeRightActive

    Whether a right thumb swipe is active as of the latest dynamic update.

    Declaration
    public bool swipeRightActive { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeRightCompletedThisFrame

    Whether a right thumb swipe became inactive in the latest dynamic update.

    Declaration
    public bool swipeRightCompletedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    swipeRightPerformedThisFrame

    Whether a right thumb swipe became active in the latest dynamic update.

    Declaration
    public bool swipeRightPerformedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    tapThumbActive

    Whether a thumb tap is active as of the latest dynamic update.

    Declaration
    public bool tapThumbActive { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    tapThumbCompletedThisFrame

    Whether a thumb tap became inactive in the latest dynamic update.

    Declaration
    public bool tapThumbCompletedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    tapThumbPerformedThisFrame

    Whether a thumb tap became active in the latest dynamic update.

    Declaration
    public bool tapThumbPerformedThisFrame { get; }
    Property Value
    Type Description
    bool
    See Also
    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)

    See Also

    microgestureUpdated
    IsMicrogestureActive(XRHandMicrogesture)
    WasMicrogesturePerformedThisFrame(XRHandMicrogesture)
    WasMicrogestureCompletedThisFrame(XRHandMicrogesture)
    In This Article
    Back to top
    Copyright © 2026 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)