#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.
◆ 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
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
|