Torque3D Documentation / _generateds / GuiHealthTextHud

GuiHealthTextHud

Engine/source/T3D/fps/guiHealthTextHud.cpp

More...

Private Types

Parent 

Public Functions

DECLARE_CATEGORY("Gui Game" )
DECLARE_DESCRIPTION("Shows the damage or energy level of the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">current\n</a>" "<a href="/coding/file/objecttypes_8h/#objecttypes_8h_1ac18d4a11e9446825e48fd474d7529084aabc4c763464f732b143d331ec4c15dce">PlayerObjectType</a> <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> <a href="/coding/class/classsimobject/#classsimobject_1a1dfd4ae4b628f69df932347c4b1b078c">object</a> as <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> numerical text display." )
onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

Public Static Functions

Detailed Description

Private Types

typedef GuiControl Parent 

Private Attributes

LinearColorF mFillColor 
LinearColorF mFrameColor 
S32 mPulseRate 
F32 mPulseThreshold 
bool mShowEnergy 
bool mShowFill 
bool mShowFrame 
bool mShowTrueHealth 
LinearColorF mTextColor 
F32 mValue 
LinearColorF mWarnColor 
F32 mWarnLevel 

Public Functions

GuiHealthTextHud()

DECLARE_CATEGORY("Gui Game" )

DECLARE_CONOBJECT(GuiHealthTextHud )

DECLARE_DESCRIPTION("Shows the damage or energy level of the <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1aeab71244afb687f16d8c4f5ee9d6ef0e">current\n</a>" "<a href="/coding/file/objecttypes_8h/#objecttypes_8h_1ac18d4a11e9446825e48fd474d7529084aabc4c763464f732b143d331ec4c15dce">PlayerObjectType</a> <a href="/coding/file/guieditctrl_8cpp/#guieditctrl_8cpp_1abb04e3738c4c5a96b3ade6fa47013a6c">control</a> <a href="/coding/class/classsimobject/#classsimobject_1a1dfd4ae4b628f69df932347c4b1b078c">object</a> as <a href="/coding/file/pointer_8h/#pointer_8h_1aeeddce917cf130d62c370b8f216026dd">a</a> numerical text display." )

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiControl

Public Static Functions

initPersistFields()