Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/InteractiveToolManager.h |
Include |
#include "InteractiveToolManager.h" |
enum EToolChangeTrackingMode
{
NoChangeTracking = 1,
UndoToExit = 2,
FullUndoRedo = 3,
}
Name |
Description |
---|---|
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. |
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)