LightDescription
Engine/source/T3D/lightDescription.h
Private Types
Parent
Public Attributes
Public Functions
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
bool
prepRender(SceneRenderState * sceneState, LightState * lightState, const MatrixF & xfm)
submitLight(LightState * state, const MatrixF & xfm, LightManager * lm, SimObject * object)
unpackData(BitStream * stream)
Public Static Functions
Detailed Description
Private Types
typedef SimDataBlock Parent
Public Attributes
LightAnimData * animationData
S32 animationDataId
F32 animationPeriod
F32 animationPhase
F32 brightness
bool castShadows
LinearColorF color
LightFlareData * flareData
S32 flareDataId
F32 flareScale
S32 mDynamicRefreshFreq
S32 mStaticRefreshFreq
F32 range
Public Functions
LightDescription()
~LightDescription()
_preload(bool server, String & errorStr)
DECLARE_CONOBJECT(LightDescription )
inspectPostApply()
Reimplemented from: SimObject
onAdd()
Reimplemented from: SimDataBlock
packData(BitStream * stream)
Reimplemented from: SimDataBlock
preload(bool server, String & errorStr)
Reimplemented from: SimDataBlock
prepRender(SceneRenderState * sceneState, LightState * lightState, const MatrixF & xfm)
submitLight(LightState * state, const MatrixF & xfm, LightManager * lm, SimObject * object)
unpackData(BitStream * stream)
Reimplemented from: SimDataBlock