Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/ScopedTransaction.h |
Include |
#include "ScopedTransaction.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/ScopedTransaction.cpp |
Construct an FScopedTransaction with full context
Parameter |
Description |
---|---|
TransactionContext |
The context for this transaction, ie editor module or producing system |
SessionName |
The description of this transaction, ie what is occurring |
PrimaryObject |
The main object being edited (if known) |
bShouldActuallyTransact |
If false the transaction is ignored. Good for creating optional transactions based on condition |