Torque3D Documentation / _generateds / GuiMaterialCtrl

GuiMaterialCtrl

Engine/source/gui/controls/guiMaterialCtrl.h

More...

Private Types

Parent 

Protected Static Functions

bool
_setMaterial(void * object, const char * index, const char * data)

Public Functions

DECLARE_CATEGORY("Gui Editor" )

Called after any property of the object is changed in the world editor.

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.

bool
setMaterial(const String & materialName)

Public Static Functions

Detailed Description

Private Types

typedef GuiContainer Parent 

Protected Attributes

BaseMatInstance * mMaterialInst 
String mMaterialName 

Protected Static Functions

_setMaterial(void * object, const char * index, const char * data)

Public Functions

GuiMaterialCtrl()

DECLARE_CATEGORY("Gui Editor" )

DECLARE_CONOBJECT(GuiMaterialCtrl )

inspectPostApply()

Reimplemented from: SimObject

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiControl

onSleep()

Reimplemented from: GuiControl

onWake()

Reimplemented from: GuiControl

setMaterial(const String & materialName)

Public Static Functions

initPersistFields()