GuiTerrPreviewCtrl
Engine/source/gui/worldEditor/guiTerrPreviewCtrl.h
Private Types
Parent
Private Attributes
Private Functions
Public Functions
DECLARE_CATEGORY("Gui Editor" )
bool
onAdd()
Called when this object is added to the scene.
Do special pre-render processing.
bool
onWake()
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)