Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Commands > API/Runtime/Slate/Framework/Commands/FInputBindingManager > API/Runtime/Slate/Framework/Commands/FInputBindingManager/FindCommandInContext
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 |
const TSharedPtr< FUICommandInfo > FindCommandInContext
&40;
const FName InBindingContext,
const FInputChord & InChord,
bool bCheckDefault
&41; const
Remarks
Finds the command in the provided context which uses the provided input chord
Parameters
| Name | 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. |