Navigation
API > API/Plugins > API/Plugins/DataflowEditor > API/Plugins/DataflowEditor/FDataflowEditorCommandsImpl
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/Experimental/Dataflow/Source/DataflowEditor/Public/Dataflow/DataflowEditorCommands.h |
| Include Path | #include "Dataflow/DataflowEditorCommands.h" |
| Source | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Private/Dataflow/DataflowEditorCommands.cpp |
static void UpdateToolCommandBinding
(
UInteractiveTool * Tool,
TSharedPtr < FUICommandList > UICommandList,
bool bUnbind
)
Parameters
| Name | Remarks |
|---|---|
| bUnbind | if true, commands are removed, otherwise added |