FSculptToolActionCommands

Each [TCommands](API\Runtime\Slate\Framework\Commands\TCommands) can only have a single (chord,action) binding, regardless of whether these would ever be used at the same time.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ModelingToolsEditorMode

Header

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

Include

#include "ModelingToolsActions.h"

Syntax

class FSculptToolActionCommands : public TInteractiveToolCommands< FSculptToolActionCommands >

Remarks

Each TCommands can only have a single (chord,action) binding, regardless of whether these would ever be used at the same time. And we cannot create/register TCommands at runtime. So, we have to define a separate TCommands instance for each Tool. This is unfortunate.

Constructors

Name Description

Public function

FSculptToolActionCommands()

Overridden from TInteractiveToolCommands

Name Description

Public function Virtual

void

 

GetToolDefaultObjectList

(
    TArray< UInteractiveTool* >& ...
)

Interface that subclasses need to implement RegisterCommands() needs actual UInteractiveTool instances for all the Tools that want to provide Actions which will be connected to hotkeys.

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