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 RegisterToolStack
&40;
TSharedPtr< FUICommandInfo > UICommand,
const FString & ToolStackIdentifier,
EToolsContextScope ToolScope
&41;
Remarks
Registers and maps the provided UI command to actions that start / stop multiple tools within a tool stack Later on this UI command can be referenced to add the tool stack to a toolbar.
Parameters
| Name | Description |
|---|---|
| UICommand | Command to map tool stack to, should not have any chords due to child tools having hotkeys |
| ToolStackIdentifier | Unique string identifier for the tool stack |
| ToolScope | Scope to determine appropriate tool context for stack |