|
| | FKeyEvent () |
| | UStruct Constructor. 更多...
|
| |
| | FKeyEvent (const FKey InKey, const FModifierKeysState &InModifierKeys, const uint32 InUserIndex, const bool bInIsRepeat, const uint32 InCharacterCode, const uint32 InKeyCode) |
| | Constructor. 更多...
|
| |
| uint32 | GetCharacter () const |
| | Returns the character code for this event. 更多...
|
| |
| FKey | GetKey () const |
| | Returns the name of the key for this event 更多...
|
| |
| uint32 | GetKeyCode () const |
| | Returns the key code received from hardware before any conversion/mapping. 更多...
|
| |
|
virtual SLATECORE_API bool | IsKeyEvent () const override |
| | Is this event a key event.
|
| |
|
bool | AreCapsLocked () const |
| | Returns true if caps lock was on when this event occurred
|
| |
|
SLATECORE_API FGeometry | FindGeometry (const TSharedRef< SWidget > &WidgetToFind) const |
| | The event path provides additional context for handling
|
| |
| | FInputEvent () |
| | UStruct Constructor. 更多...
|
| |
| | FInputEvent (const FModifierKeysState &InModifierKeys, const int32 InUserIndex, const bool bInIsRepeat) |
| | Constructor. 更多...
|
| |
|
const FModifierKeysState & | GetModifierKeys () const |
| | Returns the complete set of modifier keys
|
| |
|
uint32 | GetUserIndex () const |
| | Returns the index of the user that generated this event.
|
| |
|
bool | IsAltDown () const |
| | Returns true if either alt key was down when this event occurred
|
| |
|
bool | IsCommandDown () const |
| | Returns true if either command key was down when this event occurred
|
| |
|
bool | IsControlDown () const |
| | Returns true if either control key was down when this event occurred
|
| |
|
virtual SLATECORE_API bool | IsKeyEvent () const |
| | Is this event a key event.
|
| |
|
bool | IsLeftAltDown () const |
| | Returns true if left alt key was down when this event occurred
|
| |
|
bool | IsLeftCommandDown () const |
| | Returns true if left command key was down when this event occurred
|
| |
|
bool | IsLeftControlDown () const |
| | Returns true if left control key was down when this event occurred
|
| |
|
bool | IsLeftShiftDown () const |
| | Returns true if left shift key was down when this event occurred
|
| |
|
virtual SLATECORE_API bool | IsPointerEvent () const |
| | Is this event a pointer event (touch or cursor).
|
| |
| bool | IsRepeat () const |
| | Returns whether or not this character is an auto-repeated keystroke 更多...
|
| |
|
bool | IsRightAltDown () const |
| | Returns true if right alt key was down when this event occurred
|
| |
|
bool | IsRightCommandDown () const |
| | Returns true if right command key was down when this event occurred
|
| |
|
bool | IsRightControlDown () const |
| | Returns true if right control key was down when this event occurred
|
| |
|
bool | IsRightShiftDown () const |
| | Returns true if right shift key was down when this event occurred
|
| |
| bool | IsShiftDown () const |
| | Returns true if either shift key was down when this event occurred 更多...
|
| |
|
void | SetEventPath (const FWidgetPath &InEventPath) |
| | Set the widget path along which this event will be routed
|
| |
|
virtual | ~FInputEvent () |
| | Virtual destructor.
|
| |
FKeyEvent describes a key action (keyboard/controller key/button pressed or released.) It is passed to event handlers dealing with key input.