iIsoLight Struct Reference
A light for the isometric engine. More...
#include <iso.h>
Inheritance diagram for iIsoLight:

Public Methods | |
virtual void | SetGrid (iIsoGrid *grid)=0 |
set the grid for this light, first set the light dynamic if you want | |
virtual iIsoGrid * | GetGrid () const=0 |
get the grid for this light | |
virtual csFlags & | Flags ()=0 |
get the light flags (for get and set) (CSISO_LIGHT above) | |
virtual void | SetAttenuation (int attn)=0 |
set attentuation type of light (CSISO_ATTN_... see above) | |
virtual int | GetAttenuation () const=0 |
get attentuation type of light | |
virtual void | SetPosition (const csVector3 &pos)=0 |
set the position of the light | |
virtual const csVector3 & | GetPosition () const=0 |
get the position of the light | |
virtual void | SetColor (const csColor &col)=0 |
set the color of the light | |
virtual const csColor & | GetColor () const=0 |
get the color of the light | |
virtual void | SetRadius (float radius)=0 |
set the radius of the light | |
virtual float | GetRadius () const=0 |
get the radius of the light | |
virtual void | ShineGrid ()=0 |
shine the light, add light to all visible areas of the grid | |
virtual void | ShineSprite (iIsoSprite *sprite)=0 |
shine the light on a sprite, adding to all the vertex colors | |
virtual iLight * | GetFakeLight ()=0 |
return an iLight interface that mostly works. For internal use. | |
virtual float | GetVis (int gridx, int gridy) const=0 |
how much does the light shine on a particular grid square? |
Detailed Description
A light for the isometric engine.
Definition at line 503 of file iso.h.
Member Function Documentation
|
get the light flags (for get and set) (CSISO_LIGHT above)
|
|
get attentuation type of light
|
|
get the color of the light
|
|
return an iLight interface that mostly works. For internal use.
|
|
get the grid for this light
|
|
get the position of the light
|
|
get the radius of the light
|
|
how much does the light shine on a particular grid square?
|
|
set attentuation type of light (CSISO_ATTN_... see above)
|
|
set the color of the light
|
|
set the grid for this light, first set the light dynamic if you want
|
|
set the position of the light
|
|
set the radius of the light
|
|
shine the light, add light to all visible areas of the grid
|
|
shine the light on a sprite, adding to all the vertex colors
|
The documentation for this struct was generated from the following file:
- ivaria/iso.h
Generated for Crystal Space by doxygen 1.2.18