Torque3D Documentation / _generateds / GuiNavEditorCtrl

GuiNavEditorCtrl

Engine/source/navigation/guiNavEditorCtrl.h

More...

SimObject

bool

Called when this object is added to the scene.

GuiControl

Called when this object is asked to sleep.

onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

Private Types

Parent 

Public Friends

Protected Functions

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