In file include/csengine/light.h:

## class csLightHitsSprite

> A light-hits-sprite structure

### Public Methods

csLightHitsSprite()
  Create a new csLightHitsSprite
csDynLight* GetLight()
  Get the light that this belongs too
csLightHitsSprite* GetNextLight()
  Get next as seen from the standpoint of the light
csLightHitsSprite* GetNextSprite()
  Get next as seen from the standpoint of the sprite
csSprite3D* GetSprite()
  Get the sprite that this belongs too
~csLightHitsSprite()
  Unlink this structure from the sprite and the light and then destroy

### Private Fields

csDynLight* light
  Light that this originates from.
csSprite3D* sprite
  Sprite that this is for.

## Documentation

> A light-hits-sprite structure. This is basicly a structure which indicates that some sprite is hit by a dynamic light. There is a list of these structures in every sprite (all dynamic lights hitting a sprite will give rise to a seperate lights-hits-sprite) and there is a list of these structures in every dynamic light (representing all sprites that are hit by that particular light).

`csSprite3D* sprite`
  Sprite that this is for.

`csDynLight* light`
  Light that this originates from.

`csLightHitsSprite()`
  Create a new csLightHitsSprite

`~csLightHitsSprite()`
  Unlink this structure from the sprite and the light and then destroy

`csSprite3D* GetSprite()`
  Get the sprite that this belongs too

`csDynLight* GetLight()`
  Get the light that this belongs too

`csLightHitsSprite* GetNextSprite()`
  Get next as seen from the standpoint of the sprite

`csLightHitsSprite* GetNextLight()`
  Get next as seen from the standpoint of the light

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de