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