Navigation
API > API/Plugins > API/Plugins/MeshPaintEditorMode > API/Plugins/MeshPaintEditorMode/FMeshPaintingToolActionCommands
References
| Module | MeshPaintEditorMode |
| Header | /Engine/Plugins/MeshPainting/Source/MeshPaintEditorMode/Public/MeshPaintModeCommands.h |
| Include | #include "MeshPaintModeCommands.h" |
| Source | /Engine/Plugins/MeshPainting/Source/MeshPaintEditorMode/Private/MeshPaintModeCommands.cpp |
static void UpdateToolCommandBinding
&40;
UInteractiveTool &42; Tool,
TSharedPtr< FUICommandList > UICommandList,
bool bUnbind
&41;
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 |