class csStatLight : public csLight Class for a static light
Class for a static light. These lights cast shadows (against sector boundaries and with things), they support three different colors (R,G,B). They cannot move and they can only vary in intensity with some memory trade-offs (in which case we call it a pseudo-dynamic light).
int num_polygon
csPolygon3D** polygons
csStatLight(float x, float y, float z, float dist, float red, float green, float blue, bool dynamic)
virtual ~csStatLight()
bool IsDynamic()
virtual void SetColor(const csColor& col)
void RegisterPolygon(csPolygon3D* poly)
void CalculateLighting()
void CalculateLighting(csThing* th)
void LightingFunc(csLightingFunc* callback, void* callback_data = NULL)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de