UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InteractiveToolManager.h File Reference
#include "CoreMinimal.h"
#include "UObject/Object.h"
#include "InteractiveTool.h"
#include "InteractiveToolBuilder.h"
#include "InputRouter.h"
#include "InteractiveToolChange.h"
#include "ToolContextInterfaces.h"
#include "InteractiveToolManager.generated.h"

Go to the source code of this file.

Classes

class  UInteractiveToolManager
 
class  FBeginToolChange
 
class  FActivateToolChange
 
class  FToolChangeWrapperChange
 

Enumerations

enum class  EToolSide { Left = 1 , Mouse = 1 , Right = 2 }
 
enum class  EToolChangeTrackingMode { NoChangeTracking = 1 , UndoToExit = 2 , FullUndoRedo = 3 }
 
enum class  EToolManagerToolSwitchMode { AcceptIfAble , CancelIfAble , CustomizableAcceptIfAble , CustomizableCancelIfAble }
 

Enumeration Type Documentation

◆ EToolChangeTrackingMode

UInteractiveToolManager can emit change events for the active tool in various ways. This allows different modes to control how tools activate/deactivate on undo/redo, which is necessary because some modes (eg Modeling Mode) do not support redo "into" a Tool, while others require it (like Paint Mode)

Enumerator
NoChangeTracking 

Do not emit any Active Tool change events

UndoToExit 

When Activating a new Tool, emit a change that will cancel/deactivate that Tool on Undo, but not reactivate it on Redo

FullUndoRedo 

Full change tracking of active Tool. Note that on Activation when an existing Tool is auto-shutdown, two separate FChanges are emitted, wrapped in a single Transaction

◆ EToolManagerToolSwitchMode

Determines how a currently active tool is shutdown when switching to another tool.

Enumerator
AcceptIfAble 
CancelIfAble 
CustomizableAcceptIfAble 
CustomizableCancelIfAble 

◆ EToolSide

enum class EToolSide
strong

A Tool can be activated on a particular input device, currently identified by a "side"

Enumerator
Left 

Left-hand Tool, also used for Mouse

Mouse 
Right 

Right-hand Tool