Navigation
API > API/Plugins > API/Plugins/UVEditorTools > API/Plugins/UVEditorTools/UUVToolEmitChangeAPI
Description
Emit a change that can be undone even if we leave the tool from which it is emitted (as long as that UV editor instance is still open). Minor note: because we undo "out of" tools into a default tool and never out of a default tool, in practice, tool-independent changes will only ever be applied/reverted in the same tool invocation that they were emitted or in the default tool, not in other arbitrary tools.
Since tool-independent changes usually operate on UV editor mesh input object, it is probably preferable to use EmitToolIndependentUnwrapCanonicalChange, which will set up a proper transaction for you.
| Name | EmitToolIndependentChange |
| Type | function |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/ContextObjects/UVToolContextObjects.h |
| Include Path | #include "ContextObjects/UVToolContextObjects.h" |
| Source | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Private/ContextObjects/UVToolContextObjects.cpp |
virtual void EmitToolIndependentChange
(
UObject * TargetObject,
TUniquePtr < FToolCommandChange > Change,
const FText & Description
)