FKeyEvent::FKeyEvent

Constructor. Events are immutable once constructed.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Input/Events.h"

Syntax

FKeyEvent
(
    const FKey InKey,
    const FModifierKeysState & InModifierKeys,
    const uint32 InUserIndex,
    const bool bInIsRepeat,
    const uint32 InCharacterCode,
    const uint32 InKeyCode
)

Remarks

  1. Events are immutable once constructed.

Parameters

Parameter

Description

InKeyName

Character name

InModifierKeys

Modifier key state for this event

bInIsRepeat

True if this key is an auto-repeated keystroke

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss