Torque3D Documentation / _generateds / LightDescription

LightDescription

Engine/source/T3D/lightDescription.h

More...

Private Types

Parent 

Public Functions

bool
_preload(bool server, String & errorStr)

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

bool

Called when the object is added to the sim.

bool
preload(bool server, String & errorStr)

Called to prepare the datablock for use, after it has been unpacked.

prepRender(SceneRenderState * sceneState, LightState * lightState, const MatrixF & xfm)
submitLight(LightState * state, const MatrixF & xfm, LightManager * lm, SimObject * object)

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

Public Static Functions

initPersistFields()