Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework > API/Editor/EditorInteractiveToolsFramework/ToolContexts > API/Editor/EditorInteractiveToolsFramework/ToolContexts/UToolStackContext
References
| Module | EditorInteractiveToolsFramework |
| Header | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/ToolContexts/ToolStackContext.h |
| Include | #include "ToolContexts/ToolStackContext.h" |
| Source | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/ToolContexts/ToolStackContext.cpp |
virtual void AddToolToStack
&40;
TSharedPtr< FUICommandInfo > UICommand,
const FString & ToolStackIdentifier,
const FString & ToolIdentifier,
UInteractiveToolBuilder &42; Builder,
EToolsContextScope ToolScope
&41;
Remarks
Registers and maps the provided UI command to actions that control a tool within a tool stack
Parameters
| Name | Description |
|---|---|
| UICommand | Command containing info such as icon, text, & chord for the tool |
| ToolStackIdentifier | Unique string identifier for the tool stack to add this tool to |
| ToolIdentifier | Unique string identifier for the tool, used to check if tool is active |
| Builder | Builder for tool to be used by actions |
| ToolScope | Scope to determine lifetime of tool (Editor, Mode, etc) |