UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCharacterEvent Struct Reference

#include <Events.h>

+ Inheritance diagram for FCharacterEvent:

Public Member Functions

 FCharacterEvent ()
 
 FCharacterEvent (const TCHAR InCharacter, const FModifierKeysState &InModifierKeys, const uint32 InUserIndex, const bool bInIsRepeat)
 
 FCharacterEvent (const TCHAR InCharacter, const FModifierKeysState &InModifierKeys, const FInputDeviceId InDeviceId, const bool bInIsRepeat)
 
virtual SLATECORE_API ~FCharacterEvent ()
 
TCHAR GetCharacter () const
 
virtual SLATECORE_API FText ToText () const override
 
- Public Member Functions inherited from FInputEvent
 FInputEvent ()
 
 FInputEvent (const FModifierKeysState &InModifierKeys, const int32 InUserIndex, const bool bInIsRepeat)
 
 FInputEvent (const FModifierKeysState &InModifierKeys, const FInputDeviceId InDeviceId, const bool bInIsRepeat)
 
virtual SLATECORE_API ~FInputEvent ()
 
bool IsRepeat () const
 
bool IsShiftDown () const
 
bool IsLeftShiftDown () const
 
bool IsRightShiftDown () const
 
bool IsControlDown () const
 
bool IsLeftControlDown () const
 
bool IsRightControlDown () const
 
bool IsAltDown () const
 
bool IsLeftAltDown () const
 
bool IsRightAltDown () const
 
bool IsCommandDown () const
 
bool IsLeftCommandDown () const
 
bool IsRightCommandDown () const
 
bool AreCapsLocked () const
 
const FModifierKeysStateGetModifierKeys () const
 
uint32 GetUserIndex () const
 
FInputDeviceId GetInputDeviceId () const
 
FPlatformUserId GetPlatformUserId () const
 
uint64 GetEventTimestamp () const
 
double GetMillisecondsSinceEvent () const
 
SLATECORE_API FGeometry FindGeometry (const TSharedRef< SWidget > &WidgetToFind) const
 
SLATECORE_API TSharedRef< SWindowGetWindow () const
 
void SetEventPath (const FWidgetPath &InEventPath)
 
const FWidgetPathGetEventPath () const
 
virtual SLATECORE_API bool IsPointerEvent () const
 
virtual SLATECORE_API bool IsKeyEvent () const
 

Additional Inherited Members

- Protected Attributes inherited from FInputEvent
FModifierKeysState ModifierKeys
 
bool bIsRepeat
 
uint32 UserIndex
 
FInputDeviceId InputDeviceId
 
const FWidgetPathEventPath
 
uint64 EventTimestamp
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FCharacterEvent() [1/3]

FCharacterEvent::FCharacterEvent ( )
inline

UStruct Constructor. Not meant for normal usage.

◆ FCharacterEvent() [2/3]

FCharacterEvent::FCharacterEvent ( const TCHAR  InCharacter,
const FModifierKeysState InModifierKeys,
const uint32  InUserIndex,
const bool  bInIsRepeat 
)
inline

◆ FCharacterEvent() [3/3]

FCharacterEvent::FCharacterEvent ( const TCHAR  InCharacter,
const FModifierKeysState InModifierKeys,
const FInputDeviceId  InDeviceId,
const bool  bInIsRepeat 
)
inline

◆ ~FCharacterEvent()

FCharacterEvent::~FCharacterEvent ( )
virtualdefault

Member Function Documentation

◆ GetCharacter()

TCHAR FCharacterEvent::GetCharacter ( ) const
inline

Returns the character for this event

Returns
Character

◆ ToText()

FText FCharacterEvent::ToText ( ) const
overridevirtual

Reimplemented from FInputEvent.


The documentation for this struct was generated from the following files: