Navigation
API > API/Plugins > API/Plugins/ModelingToolsEditorMode > API/Plugins/ModelingToolsEditorMode/FModelingToolActionCommands
Description
Add or remove commands relevant to Tool to the given UICommandList. Call this when the active tool changes (eg on ToolManager.OnToolStarted / OnToolEnded)
| Name | UpdateToolCommandBinding |
| Type | function |
| Header File | /Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingToolsActions.h |
| Include Path | #include "ModelingToolsActions.h" |
| Source | /Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Private/ModelingToolsActions.cpp |
static void UpdateToolCommandBinding
(
UInteractiveTool * Tool,
TSharedPtr < FUICommandList > UICommandList,
bool bUnbind
)
Parameters
| Name | Remarks |
|---|---|
| bUnbind | if true, commands are removed, otherwise added |