UInteractiveToolBuilder

A [UInteractiveToolBuilder](API\Runtime\InteractiveToolsFramework\UInteractiveToolBuilder) creates a new instance of an InteractiveTool (basically this is a Factory).

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InteractiveToolBuilder.h

Include

#include "InteractiveToolBuilder.h"

Syntax

class UInteractiveToolBuilder : public UObject

Remarks

A UInteractiveToolBuilder creates a new instance of an InteractiveTool (basically this is a Factory). These are registered with the InteractiveToolManager, which calls BuildTool() if CanBuildTool() returns true. In addition CanBuildTool() will be queried to (for example) enable/disable UI buttons, etc. This is an abstract base class, you must subclass it in order to create your particular Tool instance

Functions

Name Description

Public function Virtual Const

UInteractive...

 

BuildTool

(
    const FToolBuilderState& SceneStat...
)

Create a new instance of this builder's Tool

Public function Virtual Const

bool

 

CanBuildTool

(
    const FToolBuilderState& SceneStat...
)

Check if, given the current scene state, a new instance of this builder's Tool can be created

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