LightZone Klassenreferenz

Klasse fuer eine Zone: Es gibt nur eine Lichtumgebung pro Zone In einer Zone kann es nur ein Directional Light geben Eine Zone kann beliebig viele PointLights enthalten. Mehr ...

#include <LightZone.h>

Aufstellung aller Elemente

Öffentliche Methoden

 LightZone (int zone)
 LightZone (int zone, float ambient, float directionalMax, float pointMax)
virtual ~LightZone ()
void set (float ambient, float directionalMax, float pointMax)
void setDirectionalLight (float dirX, float dirY, float dirZ)
void addPointLight (float posX, float posY, float posZ)
int getZone ()
float getAmbient ()
float getDirectionalMax ()
float getPointMax ()
bool hasPointLights ()
void dump ()

Öffentliche Attribute

Vec m_dir
std::vector< LightPoint * > lightPointList

Private Methoden

void init (int zone)

Private Attribute

int m_zone
float m_ambient
float m_directionalMax
float m_pointMax


Ausführliche Beschreibung

Klasse fuer eine Zone: Es gibt nur eine Lichtumgebung pro Zone In einer Zone kann es nur ein Directional Light geben Eine Zone kann beliebig viele PointLights enthalten.

Beschreibung der Konstruktoren und Destruktoren

LightZone::LightZone ( int  zone  ) 

LightZone::LightZone ( int  zone,
float  ambient,
float  directionalMax,
float  pointMax 
)

LightZone::~LightZone (  )  [virtual]


Dokumentation der Elementfunktionen

void LightZone::set ( float  ambient,
float  directionalMax,
float  pointMax 
)

void LightZone::setDirectionalLight ( float  dirX,
float  dirY,
float  dirZ 
)

void LightZone::addPointLight ( float  posX,
float  posY,
float  posZ 
)

int LightZone::getZone (  ) 

float LightZone::getAmbient (  ) 

float LightZone::getDirectionalMax (  ) 

float LightZone::getPointMax (  ) 

bool LightZone::hasPointLights (  ) 

void LightZone::dump (  ) 

void LightZone::init ( int  zone  )  [private]


Dokumentation der Datenelemente

int LightZone::m_zone [private]

float LightZone::m_ambient [private]

float LightZone::m_directionalMax [private]

float LightZone::m_pointMax [private]


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:

Generated on Sun Nov 1 16:26:43 2009 for engine3d by doxygen 1.5.5