docs.unity3d.com
    Show / Hide Table of Contents

    Struct WindowsMRTappedGestureEvent

    The event data related to a WindowsMR Tapped gesture

    Namespace: UnityEngine.XR.WindowsMR
    Syntax
    public struct WindowsMRTappedGestureEvent : IEquatable<WindowsMRTappedGestureEvent>

    Constructors

    WindowsMRTappedGestureEvent(GestureId, GestureState, Int32)

    Constructs a new WindowsMRTappedGestureEvent.

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

    The associated with the gesture.

    GestureState state

    The associated with the gesture.

    Int32 tappedCount

    The associated with the gesture.

    Properties

    id

    The associated with this gesture.

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

    state

    The state of the gesture.

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

    tappedCount

    The tappedCount of the gesture.

    Declaration
    public int tappedCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    Equals(Object)

    Determine if the WindowsMRTappedGestureEvent object param is the same as this object

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The WindowsMRTappedGestureEvent object to check against

    Returns
    Type Description
    Boolean

    True if the objects are the same

    Equals(WindowsMRTappedGestureEvent)

    Check if a WindowsMRTappedGestureEvent object is the same as this

    Declaration
    public bool Equals(WindowsMRTappedGestureEvent other)
    Parameters
    Type Name Description
    WindowsMRTappedGestureEvent other

    The WindowsMRTappedGestureEvent object to test against

    Returns
    Type Description
    Boolean

    True if the WindowsMRTappedGestureEvent objects are the same

    GetDefault()

    Gets a default-initialized WindowsMRTappedGestureEvent.

    Declaration
    public static WindowsMRTappedGestureEvent GetDefault()
    Returns
    Type Description
    WindowsMRTappedGestureEvent

    A default WindowsMRTappedGestureEvent.

    GetHashCode()

    Get the hash code for this WindowsMRTappedGestureEvent

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    The integer representation of the hash code

    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.

    Operators

    Equality(WindowsMRTappedGestureEvent, WindowsMRTappedGestureEvent)

    Operator Equals for WindowsMRTappedGestureEvent

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

    Left hand WindowsMRTappedGestureEvent

    WindowsMRTappedGestureEvent rhs

    Right hand WindowsMRTappedGestureEvent

    Returns
    Type Description
    Boolean

    True if the WindowsMRTappedGestureEvent objects are the same

    Inequality(WindowsMRTappedGestureEvent, WindowsMRTappedGestureEvent)

    Operator Inequal for WindowsMRTappedGestureEvent

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

    Left hand WindowsMRTappedGestureEvent

    WindowsMRTappedGestureEvent rhs

    Right hand WindowsMRTappedGestureEvent

    Returns
    Type Description
    Boolean

    True if the WindowsMRTappedGestureEvent objects are not the same

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023