Torque3D Documentation / _generateds / GuiMeshRoadEditorCtrl

GuiMeshRoadEditorCtrl

Engine/source/environment/editors/guiMeshRoadEditorCtrl.h

More...

Protected Types

enum
_Anonymous_ {
  Top = 0
  Bottom = 1
  Side = 2
  SurfaceCount = 3
}

Private Types

Parent 

Public Friends

Public Static Functions

Detailed Description

Protected Types

@76

Enumerator

Top = 0
Bottom = 1
Side = 2
SurfaceCount = 3

Private Types

typedef EditTSCtrl Parent 

Public Friends

Public Attributes

String mAddMeshRoadMode 
String mAddNodeMode 
AssetPtr< MaterialAsset > mBottomMaterialAsset 
StringTableEntry mBottomMaterialAssetId 
String mInsertPointMode 
String mMovePointMode 
String mRemovePointMode 
String mRotatePointMode 
String mScalePointMode 
String mSelectMeshRoadMode 
AssetPtr< MaterialAsset > mSideMaterialAsset 
StringTableEntry mSideMaterialAssetId 
AssetPtr< MaterialAsset > mTopMaterialAsset 
StringTableEntry mTopMaterialAssetId 

Protected Attributes

U32 mAddNodeIdx 
F32 mDefaultDepth 
VectorF mDefaultNormal 
F32 mDefaultWidth 
bool mDeselectProfileNode 
bool mHasCopied 
S32 mHoverNode 
ColorI mHoverNodeColor 
SimObjectPtr< MeshRoad > mHoverRoad 
ColorI mHoverSplineColor 
bool mIsDirty 
String mMode 
Point2I mNodeHalfSize 
ColorI mProfileColor 
S32 mProfileNode 
SimSet * mRoadSet 
bool mSavedDrag 
bool mSavedProfileDrag 
ColorI mSelectedSplineColor 
S32 mSelNode 
Vector< U32 > mSelProfNodeList 
SimObjectPtr< MeshRoad > mSelRoad 
GFXStateBlockRef mZDisableSB 
GFXStateBlockRef mZEnableSB 

Public Functions

GuiMeshRoadEditorCtrl()

~GuiMeshRoadEditorCtrl()

DECLARE_CONOBJECT(GuiMeshRoadEditorCtrl )

deleteSelectedNode()

deleteSelectedRoad(bool undoAble)

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

Reimplemented from: EditTSCtrl

getMode()

getNodeDepth()

getNodeNormal()

getNodePosition()

getNodeWidth()

getSelectedRoad()

getStaticPos(const Gui3DMouseEvent & event, Point3F & tpos)

matchTerrainToRoad()

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

onKeyDown(const GuiEvent & event)

Reimplemented from: GuiControl

onSleep()

Reimplemented from: GuiTSCtrl

renderScene(const RectI & updateRect)

Reimplemented from: EditTSCtrl

setMode(String mode, bool sourceShortcut)

setNodeDepth(F32 depth)

setNodeNormal(const VectorF & normal)

setNodePosition(const Point3F & pos)

setNodeWidth(F32 width)

setSelectedNode(S32 node)

setSelectedRoad(MeshRoad * road)

updateGuiInfo()

Reimplemented from: EditTSCtrl

Public Static Functions

initPersistFields()