GuiNavEditorCtrl
Engine/source/navigation/guiNavEditorCtrl.h
GuiNavEditorCtrl
bool
getStaticPos(const Gui3DMouseEvent & event, Point3F & tpos)
selectMesh(NavMesh * mesh)
setLinkFlags(const LinkData & d)
spawnPlayer(const Point3F & pos)
Test mode
SimObject
bool
onAdd()
Called when this object is added to the scene.
GuiControl
EditTSCtrl
get3DCursor(GuiCursor *& cursor, bool & visible, const Gui3DMouseEvent & event_)
bool
get3DCentre(Point3F & pos)
on3DMouseDown(const Gui3DMouseEvent & event)
on3DMouseUp(const Gui3DMouseEvent & event)
on3DMouseMove(const Gui3DMouseEvent & event)
on3DMouseDragged(const Gui3DMouseEvent & event)
on3DMouseEnter(const Gui3DMouseEvent & event)
on3DMouseLeave(const Gui3DMouseEvent & event)
renderScene(const RectI & updateRect)
Private Types
Parent
Public Friends
class
Public Static Attributes
Protected Attributes
bool
Public Functions
Protected Functions
_prepRenderImage(SceneManager * sceneGraph, const SceneRenderState * sceneState)
submitUndo(const UTF8 * name)
Detailed Description
GuiNavEditorCtrl
getStaticPos(const Gui3DMouseEvent & event, Point3F & tpos)
setMode(String mode, bool sourceShortcut)
getMode()
selectMesh(NavMesh * mesh)
deselect()
getMeshId()
getPlayerId()
deleteLink()
setLinkFlags(const LinkData & d)
buildTile()
spawnPlayer(const Point3F & pos)
String mSpawnClass
String mSpawnDatablock
Link mode
Point3F mLinkStart
S32 mCurLink
S32 mLink
Tile mode
S32 mCurTile
S32 mTile
duDebugDrawTorque dd
Test mode
SimObjectPtr< AIPlayer > mPlayer
SimObjectPtr< AIPlayer > mCurPlayer
SimObject
onAdd()
Reimplemented from: EditTSCtrl
initPersistFields()
GuiControl
onSleep()
Reimplemented from: GuiTSCtrl
onRender(Point2I offset, const RectI & updateRect)
Reimplemented from: EditTSCtrl
EditTSCtrl
get3DCursor(GuiCursor *& cursor, bool & visible, const Gui3DMouseEvent & event_)
Reimplemented from: EditTSCtrl
get3DCentre(Point3F & pos)
on3DMouseDown(const Gui3DMouseEvent & event)
Reimplemented from: EditTSCtrl
on3DMouseUp(const Gui3DMouseEvent & event)
Reimplemented from: EditTSCtrl
on3DMouseMove(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
updateGuiInfo()
Reimplemented from: EditTSCtrl
renderScene(const RectI & updateRect)
Reimplemented from: EditTSCtrl
Private Types
typedef EditTSCtrl Parent
Public Friends
Public Static Attributes
const String mCoverMode
const String mLinkMode
const String mSelectMode
const String mTestMode
const String mTileMode
Protected Attributes
bool mIsDirty
Gui3DMouseEvent mLastMouseEvent
SimObjectPtr< NavMesh > mMesh
Currently-selected NavMesh.
String mMode
Point2I mStartDragMousePoint
GFXStateBlockRef mZDisableSB
GFXStateBlockRef mZEnableSB
Public Functions
GuiNavEditorCtrl()
~GuiNavEditorCtrl()
DECLARE_CONOBJECT(GuiNavEditorCtrl )
Protected Functions
_prepRenderImage(SceneManager * sceneGraph, const SceneRenderState * sceneState)
submitUndo(const UTF8 * name)