Torque3D Documentation / _generateds / GuiTerrPreviewCtrl

GuiTerrPreviewCtrl

Engine/source/gui/worldEditor/guiTerrPreviewCtrl.h

More...

Private Types

Parent 

Public Functions

DECLARE_CATEGORY("Gui Editor" )
bool

Called when this object is added to the scene.

Do special pre-render processing.

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.

Public Static Functions

Detailed Description

Private Types

typedef GuiControl Parent 

Private Attributes

Point2F mCamera 
GFXStateBlockRef mControlsStateBlock 
Point2F mOrigin 
Point2F mRoot 
GFXStateBlockRef mTerrainBitmapStateBlock 
TerrainEditor * mTerrainEditor 
F32 mTerrainSize 
GFXTexHandle mTextureHandle 
Point2F mWorldScreenCenter 

Private Functions

worldToCtrl(const Point2F & p)

worldToTexture(const Point2F & p)

wrap(const Point2F & p)

Public Functions

GuiTerrPreviewCtrl()

DECLARE_CATEGORY("Gui Editor" )

DECLARE_CONOBJECT(GuiTerrPreviewCtrl )

getOrigin()

getRoot()

onAdd()

Reimplemented from: GuiControl

onPreRender()

Reimplemented from: GuiControl

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiControl

onSleep()

Reimplemented from: GuiControl

onWake()

Reimplemented from: GuiControl

reset()

setBitmap(const GFXTexHandle & )

setOrigin(const Point2F & origin)

setRoot()

setRoot(const Point2F & root)

Public Static Functions

initPersistFields()