TInteractiveToolCommands::GetToolDefaultObjectList

Interface that subclasses need to implement [RegisterCommands()](API\Editor\UnrealEd\Tools\TInteractiveToolCommands\RegisterCommands) needs actual [UInteractiveTool](API\Runtime\InteractiveToolsFramework\UInteractiveTool) instances for all the Tools that want to provide Actions which will be connected to hotkeys.

Windows
MacOS
Linux

Override Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Tools/InteractiveToolsCommands.h

Include

#include "Tools/InteractiveToolsCommands.h"

Syntax

void GetToolDefaultObjectList
(
    TArray< UInteractiveTool * > & ToolCDOs
)

Remarks

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. We can do this based on the CDO's for each tool, returned by GetMutableDefault(). The Tool CDOs are not owned by a ToolManager and we will only call .GetActionSet() on them.

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