FieldEditCommand class
#include <Editor/Public/UndoCommand.h>
Base classes
- class UndoCommand
Constructors, destructors, conversion operators
- FieldEditCommand(WorldBase* world) explicit
Public functions
- void Add(const FieldEdit& before, const FieldEdit& after)
- auto IsEmpty() const -> bool
- void Execute() override
- Submit the new values (used when the command is first applied, and on redo).
- void Undo() override
- auto MergeWith(const UndoCommand& other) -> bool override
- Consecutive edits to the same fields of the same entity merge into one undo step.