Navigation
API > API/Plugins > API/Plugins/UVEditorTools
An API object meant to be stored in a context object store that allows UV editor tools to emit appropriate undo/redo transactions.
| Name | UUVToolEmitChangeAPI |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/ContextObjects/UVToolContextObjects.h |
| Include Path | #include "ContextObjects/UVToolContextObjects.h" |
Syntax
UCLASS (MinimalAPI)
class UUVToolEmitChangeAPI : public UUVToolContextObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UUVToolContextObject → UUVToolEmitChangeAPI
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginUndoTransaction
(
const FText& Description |
ContextObjects/UVToolContextObjects.h | ||
virtual void EmitToolDependentChange
(
UObject* TargetObject, |
Emits a change that is considered expired when the active tool does not match the tool that was active when it was emitted. | ContextObjects/UVToolContextObjects.h | |
virtual void EmitToolIndependentChange
(
UObject* TargetObject, |
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). | ContextObjects/UVToolContextObjects.h | |
virtual void EmitToolIndependentUnwrapCanonicalChange
(
UUVEditorToolMeshInput* InputObject, |
A convenience function that is like EmitToolIndependentChange, but uses a FDynamicMeshChange that operates on the UnwrapCanonical of an input to create a change object that updates the other views and issues an OnUndoRedo broadcast on the input object. | ContextObjects/UVToolContextObjects.h | |
virtual void EndUndoTransaction() |
ContextObjects/UVToolContextObjects.h | ||
void Initialize
(
TObjectPtr< UInteractiveToolManager > ToolManagerIn |
ContextObjects/UVToolContextObjects.h |