| ITransaction
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/ITransaction.h |
Include |
#include "Misc/ITransaction.h" |
class ITransaction
Interface for transactions.
Transactions are created each time an UObject is modified, for example in the Editor. The data stored inside a transaction object can then be used to provide undo/redo functionality.
Name | Description | ||
---|---|---|---|
|
Apply() |
Applies the transaction. |
|
|
BeginOperation() |
BeginOperation should be called when a transaction or undo/redo starts |
|
|
ContainsPieObjects() |
||
|
EndOperation() |
EndOperation should be called when a transaction is finalized or canceled or undo/redo ends |
|
|
Finalize() |
Called when this transaction is completed to finalize the transaction |
|
|
FTransaction... |
GetContext() |
Gets the full context for the transaction |
|
IsTransient() |
Report if a transaction should be put in the undo buffer. |
|
|
SaveArray ( |
Saves an array to the transaction. |
|
|
SaveObject ( |
Saves an UObject to the transaction. |
|
|
SetPrimaryObject ( |
Sets the transaction's primary object. |
|
|
SnapshotObject ( |
Snapshots a UObject within the transaction. |
|
|
StoreUndo ( |
Stores a command that can be used to undo a change to the specified object. |