FCharacterEvent

[FCharacterEvent](API\Runtime\SlateCore\Input\FCharacterEvent) describes a keyboard action where the utf-16 code is given.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FInputEvent

FCharacterEvent

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/Events.h

Include

#include "Input/Events.h"

Syntax

struct FCharacterEvent : public FInputEvent

Remarks

FCharacterEvent describes a keyboard action where the utf-16 code is given. Used for OnKeyChar messages

Constructors

Name Description

Public function

FCharacterEvent()

UStruct Constructor. Not meant for normal usage.

Public function

FCharacterEvent

(
    const TCHAR InCharacter,
    const FModifierKeysState& InModifi...,
    const uint32 InUserIndex,
    const bool bInIsRepeat
)

Functions

Name Description

Public function Const

TCHAR

 

GetCharacter()

Returns the character for this event

Overridden from FInputEvent

Name Description

Public function Virtual Const

FText

 

ToText()