Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
Include |
#include "Input/Events.h" |
struct FInputEvent
Base class for all mouse and keyevents.
Name | Description | ||
---|---|---|---|
|
bIsRepeat |
True if this key was auto-repeated. |
|
|
const FWidgetPa... |
EventPath |
Events are sent along paths. See (GetEventPath). |
|
ModifierKeys |
State of modifier keys when this event happened. |
|
|
UserIndex |
The index of the user that caused the event. |
Name | Description | |
---|---|---|
|
FInputEvent() |
UStruct Constructor. Not meant for normal usage. |
|
FInputEvent ( |
|
Name | Description | |
---|---|---|
|
~FInputEvent() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
AreCapsLocked() |
Returns true if caps lock was on when this event occurred |
|
|
FindGeometry ( |
The event path provides additional context for handling |
|
|
const FWidge... |
GetEventPath() |
|
|
const FModif... |
GetModifierKeys() |
Returns the complete set of modifier keys |
|
GetUserIndex() |
Returns the index of the user that generated this event. |
|
|
TSharedRef< ... |
GetWindow() |
|
|
IsAltDown() |
Returns true if either alt key was down when this event occurred |
|
|
IsCommandDown() |
Returns true if either command key was down when this event occurred |
|
|
IsControlDown() |
Returns true if either control key was down when this event occurred |
|
|
IsKeyEvent() |
Is this event a key event. |
|
|
IsLeftAltDown() |
Returns true if left alt key was down when this event occurred |
|
|
IsLeftCommandDown() |
Returns true if left command key was down when this event occurred |
|
|
IsLeftControlDown() |
Returns true if left control key was down when this event occurred |
|
|
IsLeftShiftDown() |
Returns true if left shift key was down when this event occurred |
|
|
IsPointerEvent() |
Is this event a pointer event (touch or cursor). |
|
|
IsRepeat() |
Returns whether or not this character is an auto-repeated keystroke |
|
|
IsRightAltDown() |
Returns true if right alt key was down when this event occurred |
|
|
IsRightCommandDown() |
Returns true if right command key was down when this event occurred |
|
|
IsRightControlDown() |
Returns true if right control key was down when this event occurred |
|
|
IsRightShiftDown() |
Returns true if right shift key was down when this event occurred |
|
|
IsShiftDown() |
Returns true if either shift key was down when this event occurred |
|
|
SetEventPath ( |
Set the widget path along which this event will be routed |
|
|
ToText() |