docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WindowsMRManipulationGestureEvent

    The event data related to a WindowsMR Manipulation gesture

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

    Constructors

    WindowsMRManipulationGestureEvent(GestureId, GestureState, Vector3)

    Constructs a new WindowsMRManipulationGestureEvent.

    Declaration
    public WindowsMRManipulationGestureEvent(GestureId id, GestureState state, Vector3 cumulativeDelta)
    Parameters
    Type Name Description
    GestureId id

    The GestureId associated with the gesture.

    GestureState state

    The GestureState associated with the gesture.

    Vector3 cumulativeDelta

    The cumulative delta associated with the gesture.

    See Also
    XRGestureSubsystem

    Properties

    cumulativeDelta

    Total distance moved since the beginning of the manipulation gesture.

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

    id

    The GestureId associated with this gesture.

    Declaration
    public GestureId id { get; }
    Property Value
    Type Description
    GestureId
    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(WindowsMRManipulationGestureEvent)

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

    GetDefault()

    Gets a default-initialized WindowsMRManipulationGestureEvent.

    Declaration
    public static WindowsMRManipulationGestureEvent GetDefault()
    Returns
    Type Description
    WindowsMRManipulationGestureEvent

    A default WindowsMRManipulationGestureEvent.

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

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

    operator !=(WindowsMRManipulationGestureEvent, WindowsMRManipulationGestureEvent)

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