Distance

For radial gestures, this is the absolute value of the angle.

Windows
MacOS
Linux

Syntax

[UPROPERTY](Programming/UnrealArchitecture/Reference/Properties)(BlueprintReadOnly, Category="TouchpadGesture|MagicLeap",
          Meta=(DeprecatedProperty, DeprecationMessage="Use Touchpad Gesture Events instead."))
float Distance

Remarks

For radial gestures, this is the absolute value of the angle. For scroll and pinch gestures, this is the absolute distance traveled in touchpad distance. The touchpad is defined as having extents of [-1.0,1.0] so this distance has a range of [0.0,2.0].

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