Struct WindowsMRManipulationGestureEvent
The event data related to a WindowsMR Manipulation gesture
Syntax
public struct WindowsMRManipulationGestureEvent : IEquatable<WindowsMRManipulationGestureEvent>
Constructors
WindowsMRManipulationGestureEvent(GestureId, GestureState, Vector3)
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.
|
Properties
cumulativeDelta
Total distance moved since the beginning of the manipulation gesture.
Declaration
public Vector3 cumulativeDelta { get; }
Property Value
id
Declaration
public GestureId id { 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(WindowsMRManipulationGestureEvent)
Declaration
public bool Equals(WindowsMRManipulationGestureEvent other)
Parameters
Returns
GetDefault()
Declaration
public static WindowsMRManipulationGestureEvent 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(WindowsMRManipulationGestureEvent, WindowsMRManipulationGestureEvent)
Declaration
public static bool operator ==(WindowsMRManipulationGestureEvent lhs, WindowsMRManipulationGestureEvent rhs)
Parameters
Returns
Inequality(WindowsMRManipulationGestureEvent, WindowsMRManipulationGestureEvent)
Declaration
public static bool operator !=(WindowsMRManipulationGestureEvent lhs, WindowsMRManipulationGestureEvent rhs)
Parameters
Returns
See Also