FInputBindingManager::FindCommandInContext

Finds the command in the provided context which uses the provided input chord

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Commands/InputBindingManager.h

Include

#include "Framework/Commands/InputBindingManager.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Commands/InputBindingManager.cpp

Syntax

const TSharedPtr< FUICommandInfo > FindCommandInContext
(
    const FName InBindingContext,
    const FInputChord & InChord,
    bool bCheckDefault
) const

Remarks

Finds the command in the provided context which uses the provided input chord

Parameters

Parameter

Description

InBindingContext

The binding context name

InChord

The chord to check against when looking for commands

bCheckDefault

Whether or not to check the default chord of commands instead of active chords

OutActiveChordIndex

The index into the commands active chord array where the passed in chord was matched. INDEX_NONE if bCheckDefault is true or nothing was found.

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