FCharacterEvent

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

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()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback