EntityLifetimeCommand class
#include <Editor/Public/UndoCommand.h>
Base classes
- class UndoCommand
Public types
Constructors, destructors, conversion operators
- EntityLifetimeCommand(WorldBase* world, std::vector<EntityHandle> entities, Kind kind)
Public functions
- void Execute() override
- void Undo() override
- void OnDiscarded() override
Function documentation
void EntityLifetimeCommand:: OnDiscarded() override
The history dropped this command for good (past the depth cap, or a truncated redo branch): release anything it was keeping alive for undo. Not called on History::Clear.