Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/ChangeTransactor.h |
| Include | #include "ChangeTransactor.h" |
Syntax
struct FChangeTransactor
Remarks
Helper structure used for inserting FChange based undo/redo operations inside of the GUndo (ITransaction) instance. The operations are targeted a specific UObject, which is used as the 'transactional' object. The transactions themselves are initiated using the ITransactor API using GEngine as the instance.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChangeTransactor
(
UObject* InTransactionObject |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTransactionChange
(
TArgs&&... Args |
Inserts a FChange instance into the compound change data | |
| bool | |||
| void | Closes the currently pending transaction, inserting a FCompoundChange object, containing any FChange's transacted during the transaction, into GUndo alongside of the currently targeted UObject instance | ||
| bool | |||
| void | OpenTransaction
(
const FText& TransactionDescription |
Opens a new transaction with the provided description | |
| void | SetTransactionObject
(
UObject* InTransactionObject |
Set the UObject instance for which to transact FChange's |