FScopedTransaction::FScopedTransaction

Construct an [FScopedTransaction](API\Editor\UnrealEd\FScopedTransaction) with minimal context

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/ScopedTransaction.h

Include

#include "ScopedTransaction.h"

Source

/Engine/Source/Editor/UnrealEd/Private/ScopedTransaction.cpp

Syntax

FScopedTransaction
(
    const FText & SessionName,
    const bool bShouldActuallyTransact
)

Remarks

Construct an FScopedTransaction with minimal context

Parameters

Parameter

Description

SessionName

The description of this transaction, ie what is occurring

bShouldActuallyTransact

If false the transaction is ignored. Good for creating optional transactions based on condition

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss