UPlayerInput::GetChordForKey

Collects the chords and the delegates they invoke for a key binding

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h

Include

#include "GameFramework/PlayerInput.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/PlayerInput.cpp

Syntax

void GetChordForKey
(
    const FInputKeyBinding & KeyBinding,
    const bool bGamePaused,
    TArray< struct FDelegateDispatchDetails > & FoundChords,
    TArray< FKey > & KeysToConsume,
    const FKeyState * KeyState
)

Remarks

Collects the chords and the delegates they invoke for a key binding

Parameters

Parameter

Description

KeyBinding

the key to determine whether it occurred

bGamePaused

whether the game is currently paused

FoundChords

the list of chord/delegate pairs to add to

KeysToConsume

array to collect the keys associated with this binding that should be consumed

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