Navigation
API > API/Runtime > API/Runtime/SlateCore
FCharacterEvent describes a keyboard action where the utf-16 code is given. Used for OnKeyChar messages
| Name | FCharacterEvent |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Input/Events.h |
| Include Path | #include "Input/Events.h" |
Syntax
USTRUCT (BlueprintType )
struct FCharacterEvent : public FInputEvent
Inheritance Hierarchy
- FInputEvent → FCharacterEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UStruct Constructor. Not meant for normal usage. | Input/Events.h | ||
FCharacterEvent
(
const TCHAR InCharacter, |
Input/Events.h | ||
FCharacterEvent
(
const TCHAR InCharacter, |
Input/Events.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCharacterEvent() |
Input/Events.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Character | TCHAR | The character that was pressed. | Input/Events.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TCHAR GetCharacter() |
Returns the character for this event | Input/Events.h |
Overridden from FInputEvent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText ToText() |
Input/Events.h |