Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
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)
| Name | EToolChangeTrackingMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolManager.h |
| Include Path | #include "InteractiveToolManager.h" |
Syntax
enum EToolChangeTrackingMode
{
NoChangeTracking = 1,
UndoToExit = 2,
FullUndoRedo = 3,
}
Values
| Name | Remarks |
|---|---|
| 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. |