Struct WindowsMRHoldGestureEvent | Windows XR Plugin | 4.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Struct WindowsMRHoldGestureEvent

    The event data related to a WindowsMR Hold gesture

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

    Constructors

    WindowsMRHoldGestureEvent(GestureId, GestureState)

    Constructs a new WindowsMRHoldGestureEvent.

    Declaration
    public WindowsMRHoldGestureEvent(GestureId id, GestureState state)
    Parameters
    Type Name Description
    GestureId id

    The GestureId associated with the gesture.

    GestureState state

    The GestureId associated with the gesture.

    Properties

    id

    The GestureId 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

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(WindowsMRHoldGestureEvent)

    Declaration
    public bool Equals(WindowsMRHoldGestureEvent other)
    Parameters
    Type Name Description
    WindowsMRHoldGestureEvent other
    Returns
    Type Description
    Boolean

    GetDefault()

    Gets a default-initialized WindowsMRHoldGestureEvent.

    Declaration
    public static WindowsMRHoldGestureEvent GetDefault()
    Returns
    Type Description
    WindowsMRHoldGestureEvent

    A default WindowsMRHoldGestureEvent.

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    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()

    Operators

    Equality(WindowsMRHoldGestureEvent, WindowsMRHoldGestureEvent)

    Declaration
    public static bool operator ==(WindowsMRHoldGestureEvent lhs, WindowsMRHoldGestureEvent rhs)
    Parameters
    Type Name Description
    WindowsMRHoldGestureEvent lhs
    WindowsMRHoldGestureEvent rhs
    Returns
    Type Description
    Boolean

    Inequality(WindowsMRHoldGestureEvent, WindowsMRHoldGestureEvent)

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

    See Also

    XRGestureSubsystem
    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