Torque3D Documentation / _generateds / ForestEditorCtrl

ForestEditorCtrl

Engine/source/forest/editor/forestEditorCtrl.h

More...

Private Types

Parent 

Public Friends

Protected Attributes

The server Forest we're editing.

The active tool in used by the editor.

Public Functions

get3DCursor(GuiCursor *& cursor, bool & visible, const Gui3DMouseEvent & event_)

Returns the active Forest.

bool
bool

Called when this object is added to the scene.

bool

Called when this object is asked to sleep.

bool

Called when this object is asked to wake up returns true if it's actually awake at the end.

renderGui(Point2I offset, const RectI & updateRect)

Subclasses can override this to perform 2D rendering.

renderScene(const RectI & updateRect)
setActiveForest(Forest * forestObject)

Sets the active Forest.

bool
updateActiveForest(bool createNew)

Causes the editor to reselect the active forest.

Set flags or other Gizmo state appropriate for the current situation.

Public Static Functions

Detailed Description

Private Types

typedef EditTSCtrl Parent 

Public Friends

Protected Attributes

SimObjectPtr< Forest > mForest 

The server Forest we're editing.

SimObjectPtr< ForestTool > mTool 

The active tool in used by the editor.

Public Functions

ForestEditorCtrl()

~ForestEditorCtrl()

DECLARE_CONOBJECT(ForestEditorCtrl )

deleteMeshSafe(ForestItemData * itemData)

get3DCursor(GuiCursor *& cursor, bool & visible, const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

getActiveForest()

Returns the active Forest.

getActiveTool()

isDirty()

on3DMouseDown(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

on3DMouseDragged(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

on3DMouseEnter(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

on3DMouseLeave(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

on3DMouseMove(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

on3DMouseUp(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

on3DRightMouseDown(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

on3DRightMouseUp(const Gui3DMouseEvent & event_)

Reimplemented from: EditTSCtrl

onAdd()

Reimplemented from: GuiControl

onMouseUp(const GuiEvent & event_)

Reimplemented from: EditTSCtrl

onMouseWheelDown(const GuiEvent & event_)

Reimplemented from: EditTSCtrl

onMouseWheelUp(const GuiEvent & event_)

Reimplemented from: EditTSCtrl

onSleep()

Reimplemented from: GuiTSCtrl

onUndoAction()

onWake()

Reimplemented from: GuiTSCtrl

renderGui(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiTSCtrl

renderScene(const RectI & updateRect)

Reimplemented from: EditTSCtrl

setActiveForest(Forest * forestObject)

Sets the active Forest.

setActiveTool(ForestTool * tool)

updateActiveForest(bool createNew)

Causes the editor to reselect the active forest.

updateCollision()

updateGizmo()

Reimplemented from: EditTSCtrl

updateGuiInfo()

Reimplemented from: EditTSCtrl

Public Static Functions

initPersistFields()