Break MagicLeapTouchpadGesture

Break MagicLeapTouchpadGesture

Windows
MacOS
Linux

Adds a node that breaks a 'MagicLeapTouchpadGesture' into its member fields

Break MagicLeapTouchpadGesture
Magic Leap Touchpad Gesture
Hand
Motion Source
Type
Direction
Position And Force
X0.0
Y0.0
Z0.0
Speed
0.0
Distance
0.0
Finger Gap
0.0
Radius
0.0
Angle
0.0

Inputs

Magic Leap Touchpad Gesture
Magic Leap Touchpad Gesture Structure (by ref)

Outputs

Hand
EControllerHand Enum

Hand on which the gesture was performed.

Motion Source
Name

Motion source on which the gesture was performed.

Type
EMagicLeapTouchpadGestureType Enum

Type of gesture.

Direction
EMagicLeapTouchpadGestureDirection Enum

Direction of gesture

Position And Force
Vector

Gesture position (x,y) and force (z). Position is in the [-1.0,1.0] range and force is in the [0.0,1.0] range.

Speed
Float

Speed of gesture. Note that this takes on different meanings depending on the gesture type being performed:

  • For radial gestures, this will be the angular speed around the axis.

  • For pinch gestures, this will be the speed at which the distance between fingers is changing. The touchpad is defined as having extents of [-1.0,1.0] so touchpad distance has a range of [0.0,2.0]; this value will be in touchpad distance per second.

Distance
Float

For radial gestures, this is the absolute value of the angle. For scroll and pinch gestures, this is the absolute distance traveled in touchpad

  1. The touchpad is defined as having extents of [-1.0,1.0] so this distance has a range of [0.0,2.0].

Finger Gap
Float

Distance between the two fingers performing the gestures in touchpad

  1. The touchpad is defined as having extents of [-1.0,1.0] so this distance has a range of [0.0,2.0].

Radius
Float

For radial gestures, this is the radius of the gesture. The touchpad is defined as having extents of [-1.0,1.0] so this radius has a range of [0.0,2.0].

Angle
Float

Angle from the center of the touchpad to the finger.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss