Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::ScopedUndoBatch Class Reference

#include <ToolsApplicationAPI.h>

Public Member Functions

 AZ_CLASS_ALLOCATOR (ScopedUndoBatch, AZ::SystemAllocator)
 
 ScopedUndoBatch (const char *batchName)
 
UndoSystem::URSequencePointGetUndoBatch () const
 

Static Public Member Functions

static void MarkEntityDirty (const AZ::EntityId &id)
 

Detailed Description

RAII Helper class for undo batches.

AzToolsFramework::ScopedUndoBatch undoBatch("Batch Name"); entity->ChangeData(...); undoBatch.MarkEntityDirty(entity->GetId());


The documentation for this class was generated from the following file: