Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Input
Inheritance Hierarchy
- FInputEvent
- FMotionEvent
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
Include | #include "Input/Events.h" |
Syntax
USTRUCT (BlueprintType )
struct FMotionEvent : public FInputEvent
Remarks
FMotionEvent describes a touch pad action (press, move, lift) It is passed to event handlers dealing with touch input.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FMotionEvent () |
UStruct Constructor. Not meant for normal usage. | |
![]() |
|||
![]() |
FMotionEvent
(
const FInputDeviceId InDeviceId, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FVector & | Returns the 3D acceleration of the device | |
![]() ![]() |
const FVector & | GetGravity () |
Returns the gravity vector (pointing down into the ground) |
![]() ![]() |
const FVector & | Returns otation speed | |
![]() ![]() |
const FVector & | GetTilt () |
Returns the current tilt of the device/controller |
![]() ![]() |
uint32 | GetUserIndex () |
Returns the index of the user that caused the event |