Navigation
API > API/Editor > API/Editor/CurveEditor
Interacts with the transaction system to enable command-based actions for curve editor.
| Name | FTransactionManager |
| Type | class |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Modification/TransactionManager.h |
| Include Path | #include "Modification/TransactionManager.h" |
Syntax
class FTransactionManager :
public FNoncopyable ,
public FGCObject
Inheritance Hierarchy
- FGCObject → FTransactionManager
- FNoncopyable → FTransactionManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransactionManager
(
TWeakPtr< FCurveEditor > InCurveEditor |
Modification/TransactionManager.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnCommandAppended | TMulticastDelegate_NoParams< void > | Modification/TransactionManager.h | |
| FOnCurvesChanged | TMulticastDelegate_OneParam< void, const FGenericCurveChangeData & > | Modification/TransactionManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DummyTransactionObject | TObjectPtr< UCurveEditorTransactionObject > | The UObject that transactions are associated with. | Modification/TransactionManager.h | |
| OnCommandAppendedDelegate | FOnCommandAppended | Invoked after a command has been appended to the undo stack. | Modification/TransactionManager.h | |
| OnCurvesChangedDelegate | FOnCurvesChanged | Invoked when transaction changes to curves are made. | Modification/TransactionManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendChange
(
TUniquePtr< FCurveEditorCommandChange > InChange, |
Appends a change to the current transaction. | Modification/TransactionManager.h | |
void AppendChange
(
UObject* InObject, |
Appends a change to the current transaction and associates it with an UObject. | Modification/TransactionManager.h | |
void AppendCurveChange
(
FGenericCurveChangeData InChange, |
Appends a changes made to curves. | Modification/TransactionManager.h | |
void AppendCurveChange
(
UObject* InObject, |
Appends a changes made to curves. It is associated with the current transaction. | Modification/TransactionManager.h | |
FOnCommandAppended & OnCommandAppended() |
Invoked after a command has been appended to the undo stack. | Modification/TransactionManager.h | |
FOnCurvesChanged & OnCurvesChanged() |
Invoked when transaction changes to curves are made. | Modification/TransactionManager.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
Modification/TransactionManager.h | ||
virtual FString GetReferencerName() |
Modification/TransactionManager.h |