docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WindowsMRTappedGestureEvent

    The event data related to a WindowsMR Tapped gesture

    Implements
    IEquatable<WindowsMRTappedGestureEvent>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.WindowsMR
    Assembly: Unity.XR.WindowsMixedReality.dll
    Syntax
    [Preserve]
    public struct WindowsMRTappedGestureEvent : IEquatable<WindowsMRTappedGestureEvent>

    Constructors

    WindowsMRTappedGestureEvent(GestureId, GestureState, int)

    Constructs a new WindowsMRTappedGestureEvent.

    Declaration
    public WindowsMRTappedGestureEvent(GestureId id, GestureState state, int tappedCount)
    Parameters
    Type Name Description
    GestureId id

    The GestureId associated with the gesture.

    GestureState state

    The GestureState associated with the gesture.

    int tappedCount

    The int associated with the gesture.

    See Also
    XRGestureSubsystem

    Properties

    id

    The GestureId associated with this gesture.

    Declaration
    public GestureId id { get; }
    Property Value
    Type Description
    GestureId
    See Also
    XRGestureSubsystem

    state

    The state of the gesture.

    Declaration
    public GestureState state { get; }
    Property Value
    Type Description
    GestureState
    See Also
    XRGestureSubsystem

    tappedCount

    The tappedCount of the gesture.

    Declaration
    public int tappedCount { get; }
    Property Value
    Type Description
    int
    See Also
    XRGestureSubsystem

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)
    See Also
    XRGestureSubsystem

    Equals(WindowsMRTappedGestureEvent)

    Declaration
    public bool Equals(WindowsMRTappedGestureEvent other)
    Parameters
    Type Name Description
    WindowsMRTappedGestureEvent other
    Returns
    Type Description
    bool
    See Also
    XRGestureSubsystem

    GetDefault()

    Gets a default-initialized WindowsMRTappedGestureEvent.

    Declaration
    public static WindowsMRTappedGestureEvent GetDefault()
    Returns
    Type Description
    WindowsMRTappedGestureEvent

    A default WindowsMRTappedGestureEvent.

    See Also
    XRGestureSubsystem

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()
    See Also
    XRGestureSubsystem

    ToString()

    Generates a new string describing the gestures's properties suitable for debugging purposes.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string describing the gestures's properties.

    Overrides
    ValueType.ToString()
    See Also
    XRGestureSubsystem

    Operators

    operator ==(WindowsMRTappedGestureEvent, WindowsMRTappedGestureEvent)

    Declaration
    public static bool operator ==(WindowsMRTappedGestureEvent lhs, WindowsMRTappedGestureEvent rhs)
    Parameters
    Type Name Description
    WindowsMRTappedGestureEvent lhs
    WindowsMRTappedGestureEvent rhs
    Returns
    Type Description
    bool
    See Also
    XRGestureSubsystem

    operator !=(WindowsMRTappedGestureEvent, WindowsMRTappedGestureEvent)

    Declaration
    public static bool operator !=(WindowsMRTappedGestureEvent lhs, WindowsMRTappedGestureEvent rhs)
    Parameters
    Type Name Description
    WindowsMRTappedGestureEvent lhs
    WindowsMRTappedGestureEvent rhs
    Returns
    Type Description
    bool
    See Also
    XRGestureSubsystem

    Implements

    IEquatable<T>

    See Also

    XRGestureSubsystem
    In This Article
    Back to top
    Copyright © 2025 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)