Struct WindowsMRNavigationGestureEvent
The event data related to a WindowsMR Navigation gesture
Syntax
public struct WindowsMRNavigationGestureEvent : IEquatable<WindowsMRNavigationGestureEvent>
Constructors
WindowsMRNavigationGestureEvent(GestureId, GestureState, Vector3)
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.
|
Properties
id
Declaration
public GestureId id { get; }
Property Value
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
state
Declaration
public GestureState state { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(WindowsMRNavigationGestureEvent)
Declaration
public bool Equals(WindowsMRNavigationGestureEvent other)
Parameters
Returns
GetDefault()
Declaration
public static WindowsMRNavigationGestureEvent GetDefault()
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
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
Operators
Equality(WindowsMRNavigationGestureEvent, WindowsMRNavigationGestureEvent)
Declaration
public static bool operator ==(WindowsMRNavigationGestureEvent lhs, WindowsMRNavigationGestureEvent rhs)
Parameters
Returns
Inequality(WindowsMRNavigationGestureEvent, WindowsMRNavigationGestureEvent)
Declaration
public static bool operator !=(WindowsMRNavigationGestureEvent lhs, WindowsMRNavigationGestureEvent rhs)
Parameters
Returns
See Also