#include <ToolsApplicationAPI.h>
Public Member Functions | |
AZ_CLASS_ALLOCATOR (ScopedUndoBatch, AZ::SystemAllocator) | |
ScopedUndoBatch (const char *batchName) | |
UndoSystem::URSequencePoint * | GetUndoBatch () const |
Static Public Member Functions | |
static void | MarkEntityDirty (const AZ::EntityId &id) |
RAII Helper class for undo batches.
AzToolsFramework::ScopedUndoBatch undoBatch("Batch Name"); entity->ChangeData(...); undoBatch.MarkEntityDirty(entity->GetId());