Struct MagicLeapKeyPoseGestureEvent
The event data related to a Magic Leap KeyPose gesture
Syntax
public struct MagicLeapKeyPoseGestureEvent : IEquatable<MagicLeapKeyPoseGestureEvent>
Constructors
MagicLeapKeyPoseGestureEvent(GestureId, GestureState, MagicLeapKeyPose, MagicLeapHand)
Declaration
public MagicLeapKeyPoseGestureEvent(GestureId id, GestureState state, MagicLeapKeyPose keyPose, MagicLeapHand hand)
Parameters
Properties
hand
Declaration
public MagicLeapHand hand { get; }
Property Value
id
Declaration
public GestureId id { get; }
Property Value
keyPose
Declaration
public MagicLeapKeyPose keyPose { get; }
Property Value
state
The state of the gesture.
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(MagicLeapKeyPoseGestureEvent)
Declaration
public bool Equals(MagicLeapKeyPoseGestureEvent other)
Parameters
Returns
GetDefault()
Declaration
public static MagicLeapKeyPoseGestureEvent 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(MagicLeapKeyPoseGestureEvent, MagicLeapKeyPoseGestureEvent)
Declaration
public static bool operator ==(MagicLeapKeyPoseGestureEvent lhs, MagicLeapKeyPoseGestureEvent rhs)
Parameters
Returns
Inequality(MagicLeapKeyPoseGestureEvent, MagicLeapKeyPoseGestureEvent)
Declaration
public static bool operator !=(MagicLeapKeyPoseGestureEvent lhs, MagicLeapKeyPoseGestureEvent rhs)
Parameters
Returns
See Also