Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Commands
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Commands/InputBindingManager.h |
| Include | #include "Framework/Commands/InputBindingManager.h" |
Syntax
class FInputBindingManager
Remarks
Manager responsible for creating and processing input bindings.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnRegisterCommandList | OnRegisterCommandList | A delegate for systems to subscribe to any other system exposing their command lists | |
| FOnRegisterCommandList | OnUnregisterCommandList | A delegate for systems to subscribe to any other system unregistering their command lists |
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCommandFilter
(
const FName InOwnerName, |
Filters a command by name | |
| bool | CommandPassesFilter
(
const FName InBindingContext, |
Command passes allow/deny list filters | |
| void | CreateInputCommand
(
const TSharedRef< FBindingContext >& InBindingContext, |
Creates an input command from the specified user interface action | |
| const TSharedPtr< FUICommandInfo > | FindCommandInContext
(
const FName InBindingContext, |
Finds the command in the provided context which has the provided name | |
| const TSharedPtr< FUICommandInfo > | FindCommandInContext
(
const FName InBindingContext, |
Finds the command in the provided context which uses the provided input chord | |
| FInputBindingManager & | Get () |
||
| const TSharedPtr< FUICommandInfo > | GetCommandInfoFromInputChord
(
const FName InBindingContext, |
Returns a command info that is has the same active chord as the provided chord and is in the same binding context or parent context | |
| void | GetCommandInfosFromContext
(
const FName InBindingContext, |
Returns all known command infos for a given binding context | |
| TSharedPtr< FBindingContext > | GetContextByName
(
const FName& InContextName |
Look up a binding context by name. | |
| void | GetKnownInputContexts
(
TArray< TSharedPtr< FBindingContext > >& OutInputContexts |
Returns a list of all known input contexts | |
| bool | GetUserDefinedChord
(
const FName InBindingContext, |
Gets the user defined chord (if any) from the provided command name | |
| void | NotifyActiveChordChanged
(
const FUICommandInfo& CommandInfo, |
Called when the active chord is changed on a command | |
| bool | RegisterCommandList
(
const ::FName InBindingContext, |
Exposes the given command list and its context to all OnRegisterCommandList subscribers | |
| TSharedPtr< FUICommandList > | RegisterNewCommandList
(
const FName InBindingContext |
Exposes a new given command list from the given context to all OnRegisterCommandList subscribers | |
| FDelegateHandle | RegisterUserDefinedChordChanged
(
const FOnUserDefinedChordChanged::FDelegate& Delegate |
Registers a delegate to be called when a user-defined chord is edited | |
| void | RemoveContextByName
(
const FName& InContextName |
Remove the context with this name | |
| void | RemoveInputCommand
(
const TSharedRef< FBindingContext >& InBindingContext, |
Removes an input command, allowing a new one to take its place | |
| void | Removes any user defined chords | ||
| void | Saves the user defined chords to a json file | ||
| void | UnregisterCommandFilterOwner
(
const FName InOwnerName |
Removes all filters associated with an owner | |
| bool | UnregisterCommandList
(
const ::FName InBindingContext, |
Exposes the given command list and its context to all OnUnregisterCommandList subscribers | |
| void | UnregisterUserDefinedChordChanged
(
FDelegateHandle DelegateHandle |
Unregisters a delegate to be called when a user-defined chord is edited |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ECommandFilterType | Type of filter. |