FTransaction::StoreUndo

Stores a command that can be used to undo a change to the specified object.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ITransaction::StoreUndo()

FTransaction::StoreUndo()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/Transactor.h

Include

#include "Editor/Transactor.h"

Source

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

Syntax

virtual void StoreUndo
(
    UObject * Object,
    TUniquePtr< FChange > CustomChange
)

Remarks

Stores a command that can be used to undo a change to the specified object. This may be called multiple times in the same transaction to stack up changes that will be rolled back in reverse order. No copy of the object itself is stored.

Parameters

Parameter

Description

Object

The object the undo change will apply to

CustomChange

The change that can be used to undo the changes to this object.