docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WindowsMRNavigationGestureEvent

    The event data related to a WindowsMR Navigation gesture

    Implements
    IEquatable<WindowsMRNavigationGestureEvent>
    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 WindowsMRNavigationGestureEvent : IEquatable<WindowsMRNavigationGestureEvent>

    Constructors

    WindowsMRNavigationGestureEvent(GestureId, GestureState, Vector3)

    Constructs a new WindowsMRNavigationGestureEvent.

    Declaration
    public WindowsMRNavigationGestureEvent(GestureId id, GestureState state, Vector3 normalizedOffset)
    Parameters
    Type Name Description
    GestureId id

    The GestureId associated with the gesture.

    GestureState state

    The GestureId associated with the gesture.

    Vector3 normalizedOffset

    The normalized offset 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

    normalizedOffset

    The normalized offset, since the navigation gesture began, of the input within the unit cube for the navigation gesture.

    Declaration
    public Vector3 normalizedOffset { get; }
    Property Value
    Type Description
    Vector3
    See Also
    XRGestureSubsystem

    state

    The GestureState of the gesture.

    Declaration
    public GestureState state { get; }
    Property Value
    Type Description
    GestureState
    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(WindowsMRNavigationGestureEvent)

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

    GetDefault()

    Gets a default-initialized WindowsMRNavigationGestureEvent.

    Declaration
    public static WindowsMRNavigationGestureEvent GetDefault()
    Returns
    Type Description
    WindowsMRNavigationGestureEvent

    A default WindowsMRNavigationGestureEvent.

    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 ==(WindowsMRNavigationGestureEvent, WindowsMRNavigationGestureEvent)

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

    operator !=(WindowsMRNavigationGestureEvent, WindowsMRNavigationGestureEvent)

    Declaration
    public static bool operator !=(WindowsMRNavigationGestureEvent lhs, WindowsMRNavigationGestureEvent rhs)
    Parameters
    Type Name Description
    WindowsMRNavigationGestureEvent lhs
    WindowsMRNavigationGestureEvent 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)