Back to bsyte

LightEnvironment Klassenreferenz

Klasse fuer eine Lichtumgebung: 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 <LightEnvironment.h>

Aufstellung aller Elemente

Öffentliche Methoden

 LightEnvironment (int zone)
 LightEnvironment (int zone, float ambient, float directionalMax, float pointMax)
virtual ~LightEnvironment ()
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 Lichtumgebung: 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

LightEnvironment::LightEnvironment ( int  zone  ) 

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

LightEnvironment::~LightEnvironment (  )  [virtual]


Dokumentation der Elementfunktionen

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

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

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

int LightEnvironment::getZone (  ) 

float LightEnvironment::getAmbient (  ) 

float LightEnvironment::getDirectionalMax (  ) 

float LightEnvironment::getPointMax (  ) 

bool LightEnvironment::hasPointLights (  ) 

void LightEnvironment::dump (  ) 

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


Dokumentation der Datenelemente

int LightEnvironment::m_zone [private]

float LightEnvironment::m_ambient [private]


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

Generated on Sat Oct 24 15:17:50 2009 for engine3d by doxygen 1.5.5