#include <SpotLight.hh>
Public Member Functions | |
SpotLight () | |
void | setOn (bool on) |
bool | on () const |
void | setIntensity (float intensity) |
float | intensity () const |
void | setColor (SFColor color) |
SFColor | color () const |
void | setLocation (SFVec3f location) |
SFVec3f | location () const |
void | setDirection (SFVec3f direction) |
SFVec3f | direction () const |
void | setDropOffRate (float dropOffRate) |
float | dropOffRate () const |
void | setCutOffAngle (float cutOffAngle) |
float | cutOffAngle () const |
virtual void | setAttribute (Attribute *A) |
Private Attributes | |
bool | m_on |
float | m_intensity |
SFColor | m_color |
SFVec3f | m_location |
SFVec3f | m_direction |
float | m_dropOffRate |
float | m_cutOffAngle |
vrml1::SpotLight::SpotLight | ( | ) |
void vrml1::SpotLight::setOn | ( | bool | on | ) |
bool vrml1::SpotLight::on | ( | ) | const |
void vrml1::SpotLight::setIntensity | ( | float | intensity | ) |
float vrml1::SpotLight::intensity | ( | ) | const |
void vrml1::SpotLight::setColor | ( | SFColor | color | ) |
SFColor vrml1::SpotLight::color | ( | ) | const |
void vrml1::SpotLight::setLocation | ( | SFVec3f | location | ) |
SFVec3f vrml1::SpotLight::location | ( | ) | const |
void vrml1::SpotLight::setDirection | ( | SFVec3f | direction | ) |
SFVec3f vrml1::SpotLight::direction | ( | ) | const |
void vrml1::SpotLight::setDropOffRate | ( | float | dropOffRate | ) |
float vrml1::SpotLight::dropOffRate | ( | ) | const |
void vrml1::SpotLight::setCutOffAngle | ( | float | cutOffAngle | ) |
float vrml1::SpotLight::cutOffAngle | ( | ) | const |
void vrml1::SpotLight::setAttribute | ( | Attribute * | A | ) | [virtual] |
Reimplemented from vrml1::Node.
bool vrml1::SpotLight::m_on [private] |
float vrml1::SpotLight::m_intensity [private] |
SFColor vrml1::SpotLight::m_color [private] |
SFVec3f vrml1::SpotLight::m_location [private] |
SFVec3f vrml1::SpotLight::m_direction [private] |
float vrml1::SpotLight::m_dropOffRate [private] |
float vrml1::SpotLight::m_cutOffAngle [private] |