EToolChangeTrackingMode

[UInteractiveToolManager](API\Runtime\InteractiveToolsFramework\UInteractiveToolManager) can emit change events for the active tool in various ways.

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

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

Include

#include "InteractiveToolManager.h"

Syntax

enum EToolChangeTrackingMode
{
    NoChangeTracking    = 1,
    UndoToExit          = 2,
    FullUndoRedo        = 3,
}

Values

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.

Remarks

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)

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