ForestEditorCtrl
Engine/source/forest/editor/forestEditorCtrl.h
Private Types
Parent
Public Friends
class
Protected Attributes
The active tool in used by the editor.
Public Functions
deleteMeshSafe(ForestItemData * itemData)
get3DCursor(GuiCursor *& cursor, bool & visible, const Gui3DMouseEvent & event_)
bool
isDirty()
on3DMouseDown(const Gui3DMouseEvent & event_)
on3DMouseDragged(const Gui3DMouseEvent & event_)
on3DMouseEnter(const Gui3DMouseEvent & event_)
on3DMouseLeave(const Gui3DMouseEvent & event_)
on3DMouseMove(const Gui3DMouseEvent & event_)
on3DMouseUp(const Gui3DMouseEvent & event_)
on3DRightMouseDown(const Gui3DMouseEvent & event_)
on3DRightMouseUp(const Gui3DMouseEvent & event_)
bool
onAdd()
Called when this object is added to the scene.
bool
onMouseWheelDown(const GuiEvent & event_)
bool
onMouseWheelUp(const GuiEvent & event_)
bool
onWake()
Called when this object is asked to wake up returns true if it's actually awake at the end.
renderScene(const RectI & updateRect)
setActiveForest(Forest * forestObject)
Sets the active Forest.
setActiveTool(ForestTool * tool)
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