Navigation
API > API/Editor > API/Editor/UnrealEd
Interface for functions that get called on command objects on tool start/end. Used to allow the caller to not know the class at compile time, so that, for instance, tools injected via a plugin can still have hotkey support. The command object's RegisterCommands() function still needs to be called in the module's startup method, but then this interface can be provided to the host to call when the tool starts/ends.
| Name | IInteractiveToolCommandsInterface |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Tools/InteractiveToolsCommands.h |
| Include Path | #include "Tools/InteractiveToolsCommands.h" |
Syntax
class IInteractiveToolCommandsInterface
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindCommandsForCurrentTool
(
TSharedPtr< FUICommandList > UICommandList, |
Bind any of the registered UICommands to the given Tool, if they are compatible. | Tools/InteractiveToolsCommands.h | |
void UnbindActiveCommands
(
TSharedPtr< FUICommandList > UICommandList |
Unbind all of the currently-registered commands | Tools/InteractiveToolsCommands.h |