ConvexEditorTool
Engine/source/gui/worldEditor/guiConvexShapeEditorCtrl.h
Public Types
enum
EventResult { NotHandled = 0 Handled = 1 Done = 2 Failed = 3 }
Public Attributes
Protected Attributes
bool
Public Functions
ConvexEditorTool(GuiConvexEditorCtrl * editor)
bool
isDone()
on3DMouseDown(const Gui3DMouseEvent & event)
on3DMouseDragged(const Gui3DMouseEvent & event)
on3DMouseEnter(const Gui3DMouseEvent & event)
on3DMouseLeave(const Gui3DMouseEvent & event)
on3DMouseMove(const Gui3DMouseEvent & event)
on3DMouseUp(const Gui3DMouseEvent & event)
on3DRightMouseUp(const Gui3DMouseEvent & event)
onActivated(ConvexEditorTool * prevTool)
onDeactivated(ConvexEditorTool * newTool)
renderScene(const RectI & updateRect)
Detailed Description
Public Types
EventResult
Enumerator
- NotHandled = 0
- Handled = 1
- Done = 2
- Failed = 3
Public Attributes
GuiConvexEditorCtrl * mEditor
Protected Attributes
bool mDone
Public Functions
ConvexEditorTool(GuiConvexEditorCtrl * editor)
~ConvexEditorTool()
isDone()
on3DMouseDown(const Gui3DMouseEvent & event)
Reimplemented by: ConvexEditorCreateTool
on3DMouseDragged(const Gui3DMouseEvent & event)
Reimplemented by: ConvexEditorCreateTool
on3DMouseEnter(const Gui3DMouseEvent & event)
on3DMouseLeave(const Gui3DMouseEvent & event)
on3DMouseMove(const Gui3DMouseEvent & event)
Reimplemented by: ConvexEditorCreateTool
on3DMouseUp(const Gui3DMouseEvent & event)
Reimplemented by: ConvexEditorCreateTool
on3DRightMouseDown(const Gui3DMouseEvent & event)
on3DRightMouseUp(const Gui3DMouseEvent & event)
onActivated(ConvexEditorTool * prevTool)
Reimplemented by: ConvexEditorCreateTool
onDeactivated(ConvexEditorTool * newTool)
Reimplemented by: ConvexEditorCreateTool
onKeyDown(const GuiEvent & event)
render2D()
renderScene(const RectI & updateRect)
Reimplemented by: ConvexEditorCreateTool