ForestCreateUndoAction
Engine/source/forest/editor/forestUndo.h
Private Types
Parent
Public Functions
ForestCreateUndoAction(const Resource< ForestData > & data, ForestEditorCtrl * editor)
Detailed Description
Private Types
typedef ForestUndoAction Parent
Public Functions
ForestCreateUndoAction(const Resource< ForestData > & data, ForestEditorCtrl * editor)
addItem(ForestItemData * data, const Point3F & position, F32 rotation, F32 scale)
Adds the item to the Forest and stores its info for undo later.
redo()
Reimplemented from: ForestUndoAction
undo()
Reimplemented from: ForestUndoAction