Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
Include |
#include "Blueprint/UserWidget.h" |
FEventReply OnMotionDetected
(
FGeometry MyGeometry,
FMotionEvent InMotionEvent
)
Called when motion is detected (controller or device) e.g. Someone tilts or shakes their controller.
Parameter |
Description |
---|---|
MyGeometry |
The geometry of the widget receiving the event. |
MotionEvent |
The motion event generated |