UPlayerInput::GetChordsForKeyMapping

Helper function for GetChordsForAction to examine each keymapping that belongs to the ActionBinding

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 GetChordsForKeyMapping
(
    const FInputActionKeyMapping & KeyMapping,
    const FInputActionBinding & ActionBinding,
    const bool bGamePaused,
    TArray< FDelegateDispatchDetails > & FoundChords,
    TArray< FKey > & KeysToConsume,
    const FKeyState * KeyState
)

Remarks

Helper function for GetChordsForAction to examine each keymapping that belongs to the ActionBinding

Parameters

Parameter

Description

KeyMapping

the key mapping to determine whether it occured

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