UUVToolEmitChangeAPI

An API object meant to be stored in a context object store that allows UV editor tools to emit appropriate undo/redo transactions.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UVEditorTools

Header

/Engine/Plugins/Experimental/UVEditor/Source/UVEditorTools/Public/UVToolContextObjects.h

Include

#include "UVToolContextObjects.h"

Syntax

UCLASS()
class UUVToolEmitChangeAPI : public UUVToolContextObject

Remarks

An API object meant to be stored in a context object store that allows UV editor tools to emit appropriate undo/redo transactions.

Variables

Name Description

Protected variable

TObjectPtr< UIn...

 

ToolManager

Functions

Name Description

Public function Virtual

void

 

BeginUndoTransaction

(
    const FText& Description
)

Public function Virtual

void

 

EmitToolDependentChange

(
    UObject* TargetObject,
    TUniquePtr< FToolCommandChange > Ch...,
    const FText& Description
)

Emits a change that is considered expired when the active tool does not match the tool that was active when it was emitted.

Public function Virtual

void

 

EmitToolIndependentChange

(
    UObject* TargetObject,
    TUniquePtr< FToolCommandChange > Ch...,
    const FText& 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).

Public function Virtual

void

 

EmitToolIndependentUnwrapCanonicalChange

(
    UUVEditorToolMeshInput* InputO...,
    TUniquePtr< UE::Geometry::FDynamicM...,
    const FText& Description
)

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.

Public function Virtual

void

 

EndUndoTransaction()

Public function

void

 

Initialize