Choose your operating system:
Windows
macOS
Linux
| FInputEvent
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
Include |
#include "Input/Events.h" |
struct FMotionEvent : public FInputEvent
FMotionEvent describes a touch pad action (press, move, lift) It is passed to event handlers dealing with touch input.
Name | Description | |
---|---|---|
|
FMotionEvent() |
UStruct Constructor. Not meant for normal usage. |
|
FMotionEvent |
Name | Description | ||
---|---|---|---|
|
const FVecto... |
GetAcceleration() |
Returns the 3D acceleration of the device |
|
const FVecto... |
GetGravity() |
Returns the gravity vector (pointing down into the ground) |
|
const FVecto... |
GetRotationRate() |
Returns otation speed |
|
const FVecto... |
GetTilt() |
Returns the current tilt of the device/controller |
|
GetUserIndex() |
Returns the index of the user that caused the event |