#include <LightZone.h>
Ö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 |
| LightZone::LightZone | ( | int | zone | ) |
| LightZone::LightZone | ( | int | zone, | |
| float | ambient, | |||
| float | directionalMax, | |||
| float | pointMax | |||
| ) |
| LightZone::~LightZone | ( | ) | [virtual] |
| 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] |
int LightZone::m_zone [private] |
float LightZone::m_ambient [private] |
float LightZone::m_directionalMax [private] |
float LightZone::m_pointMax [private] |
| std::vector<LightPoint*> LightZone::lightPointList |
1.5.5