GuiMaterialCtrl
Engine/source/gui/controls/guiMaterialCtrl.h
Private Types
Parent
Protected Attributes
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.
bool
onWake()
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)