Torque3D Documentation / _generateds / GuiDecalEditorCtrl

GuiDecalEditorCtrl

Engine/source/gui/worldEditor/guiDecalEditorCtrl.h

More...

Private Types

Parent 

Public Static Attributes

Public Functions

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

Find clicked point on "static collision" objects.

bool

Called when this object is added to the scene.

Called when the editor is deactivated.

onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

Called when this object is asked to sleep.

bool

Called when this object is asked to wake up returns true if it's actually awake at the end.

renderGui(Point2I offset, const RectI & updateRect)

Subclasses can override this to perform 2D rendering.

renderScene(const RectI & updateRect)
setGizmoFocus(DecalInstance * decalInstance)
setMode(String mode, bool sourceShortcut)

Public Static Functions

Protected Functions

Detailed Description

Private Types

typedef EditTSCtrl Parent 

Public Attributes

DecalInstance * mHLDecal 
String mMode 
DecalInstance * mSELDecal 

Public Static Attributes

bool smRenderDecalPixelSize 

Protected Attributes

DecalData * mCurrentDecalData 
Vector< Point3F > mHLEdgeVerts 
bool mPerformedDragCopy 
Vector< Point3F > mSELEdgeVerts 

Public Functions

GuiDecalEditorCtrl()

~GuiDecalEditorCtrl()

DECLARE_CONOBJECT(GuiDecalEditorCtrl )

deleteDecalDatablock(String lookupName)

deleteSelectedDecal()

forceRedraw(DecalInstance * decalInstance)

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

Reimplemented from: EditTSCtrl

getRayInfo(const Gui3DMouseEvent & event, RayInfo * rInfo)

Find clicked point on "static collision" objects.

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: EditTSCtrl

onEditorDisable()

Reimplemented from: SimObject

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: EditTSCtrl

onSleep()

Reimplemented from: GuiTSCtrl

onWake()

Reimplemented from: GuiTSCtrl

renderGui(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiTSCtrl

renderScene(const RectI & updateRect)

Reimplemented from: EditTSCtrl

retargetDecalDatablock(String dbFrom, String dbTo)

selectDecal(DecalInstance * inst)

setGizmoFocus(DecalInstance * decalInstance)

setMode(String mode, bool sourceShortcut)

updateGuiInfo()

Reimplemented from: EditTSCtrl

Public Static Functions

consoleInit()

initPersistFields()

Protected Functions

_renderDecalEdge(const Vector< Point3F > & verts, const ColorI & color)