FModelingToolActionCommands::UpdateToolCommandBinding

Add or remove commands relevant to Tool to the given UICommandList.

Windows
MacOS
Linux

References

Module

ModelingToolsEditorMode

Header

/Engine/Plugins/Experimental/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingToolsActions.h

Include

#include "ModelingToolsActions.h"

Source

/Engine/Plugins/Experimental/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Private/ModelingToolsActions.cpp

Syntax

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

Parameter

Description

bUnbind

if true, commands are removed, otherwise added

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss