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