Torque3D Documentation / _generateds / ForestCreateUndoAction

ForestCreateUndoAction

Engine/source/forest/editor/forestUndo.h

More...

Private Types

Public Functions

addItem(ForestItemData * data, const Point3F & position, F32 rotation, F32 scale)

Adds the item to the Forest and stores its info for undo later.

undo()

Implement these methods to perform your specific undo & redo tasks.

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