UPlayerInput::GetChordsForAction

Collects the chords and the delegates they invoke for an action 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 GetChordsForAction
(
    const FInputActionBinding & ActionBinding,
    const bool bGamePaused,
    TArray< struct FDelegateDispatchDetails > & FoundChords,
    TArray< FKey > & KeysToConsume
)

Remarks

Collects the chords and the delegates they invoke for an action binding

Parameters

Parameter

Description

ActionBinding

the action 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