Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FTransactionManager
Overloads
| 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 |
AppendChange(TUniquePtr< FCurveEditorCommandChange >, const FText &)
Description
Appends a change to the current transaction. Use this version when there is no UObject the change can be associated with - otherwise use the UObject overload.
The transaction can consist of multiple changes, e.g.
- system 1 may move keys, and
- system 2 could coniditonally snap the keys to full frames after checking that the user has toggled auto-snapping
| Name | AppendChange |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Modification/TransactionManager.h |
| Include Path | #include "Modification/TransactionManager.h" |
| Source | /Engine/Source/Editor/CurveEditor/Private/Modification/TransactionManager.cpp |
void AppendChange
(
TUniquePtr < FCurveEditorCommandChange > InChange,
const FText & InDescription
) const
Parameters
| Name | Remarks |
|---|---|
| InChange | The change to associate with the currently open transaction |
| InDescription | Description of the change |
AppendChange(UObject *, TUniquePtr< FCurveEditorCommandChange >, const FText &)
Description
Appends a change to the current transaction and associates it with an UObject.
You should prefer this overload whenever possible because it causes the object's package's dirty flag to be saved and restore by the undo system. Example: If you're modifying a FCurveModel, you'd pass in FCurveModel::GetOwningObject.
| Name | AppendChange |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Modification/TransactionManager.h |
| Include Path | #include "Modification/TransactionManager.h" |
| Source | /Engine/Source/Editor/CurveEditor/Private/Modification/TransactionManager.cpp |
void AppendChange
(
UObject * InObject,
TUniquePtr < FCurveEditorCommandChange > InChange,
const FText & InDescription
) const
Parameters
| Name | Remarks |
|---|---|
| InObject | The object being modified |
| InChange | The change to associate with the currently open transaction |
| InDescription | Description of the change |