Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Blueprint > UUserWidget
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
Include | #include "Blueprint/UserWidget.h" |
FEventReply OnMotionDetected
&40;
FGeometry MyGeometry,
FMotionEvent InMotionEvent
&41;
Remarks
Called when motion is detected (controller or device) e.g. Someone tilts or shakes their controller.
Parameters
Name | Description |
---|---|
MyGeometry | The geometry of the widget receiving the event. |
MotionEvent | The motion event generated |