Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering > API/Runtime/SlateCore/Rendering/ISlateViewport
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include | #include "Rendering/RenderingCommon.h" |
virtual FReply OnMotionDetected
(
const FGeometry & MyGeometry,
const FMotionEvent & InMotionEvent
)
Remarks
Called when motion is detected (controller or device) e.g. Someone tilts or shakes their controller.
Parameters
| Name | Description |
|---|---|
| InMotionEvent | The motion event generated |