class csDynLight : public csLight Class for a dynamic light
| | AddLightedSprite (csLightHitsSprite* lp) Add a light-hits-sprite to the list |
| | AddLightpatch (csLightPatch* lp) Add a light patch to the light patch list |
| | csDynLight (float x, float y, float z, float dist, float red, float green, float blue) Create a new dynamic light at the given position and with the given radius and color |
| | GetNext () |
| | GetPrev () |
| | Move (csSector* sector, float x, float y, float z) Move the light |
| | Move (csSector* sector, csVector3& v) Move the light |
| | Resize (float radius) Resize the light |
| | SetNext (csDynLight* n) |
| | SetPrev (csDynLight* p) |
| | Setup () Initial placement of the light |
| | UnlinkLightedSprite (csLightHitsSprite* lp) Unlink a light-hits-sprite from the list |
| | UnlinkLightpatch (csLightPatch* lp) Unlink a light patch from the light patch list |
| | ~csDynLight () Remove the dynamic light from all polygons (i |
| | lightedsprites List of light-hits-sprite structures for this dynamic light. |
| | lightpatches List of light patches for this dynamic light. |
Class for a dynamic light. These lights only cast shadows for sectors/portals and not for things. However, they can freely move and change color intensity.
csLightHitsSprite* lightedsprites
csDynLight(float x, float y, float z, float dist, float red, float green, float blue)
virtual ~csDynLight()
void Setup()
void Move(csSector* sector, csVector3& v)
void Move(csSector* sector, float x, float y, float z)
void Resize(float radius)
void UnlinkLightpatch(csLightPatch* lp)
void AddLightpatch(csLightPatch* lp)
void UnlinkLightedSprite(csLightHitsSprite* lp)
void AddLightedSprite(csLightHitsSprite* lp)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de