GlobeEngine
|
#include <SpotLight.h>
Public Member Functions | |
SpotLight () | |
~SpotLight () | |
void | clear () |
void | create (vmml::Vector3d _position) |
void | setPosition (vmml::Vector3d _position) |
void | setTarget (vmml::Vector3d _position) |
vmml::Vector3d | getTarget () |
void | setAttenuation (vmml::Vector3d _attenuation) |
vmml::Vector3d | getAttenuation () |
void | setIntensities (vmml::Vector3f _intensities) |
vmml::Vector3f | getIntensities () |
void | setCutoff (float _cut) |
float | getCutoff () |
void | setExponent (float _exp) |
float | getExponent () |
void | update () |
void | updateDirection () |
vmml::Vector4f | getUpVector () |
void | printInfo () |
Public Member Functions inherited from ge::DirectionalLight | |
DirectionalLight () | |
~DirectionalLight () | |
void | clear () |
void | create (vmml::Vector3d _position, vmml::Vector3d _direction) |
void | setDirection (vmml::Vector3d _direction) |
vmml::Vector3d | getDirection () |
void | bindUniformStruct (const std::shared_ptr< ge::Shader > _shader) const |
void | printInfo () |
Public Member Functions inherited from ge::Light | |
Light () | |
~Light () | |
void | clear () |
void | create (vmml::Vector3d _position) |
void | create (vmml::Vector3d _position, vmml::Vector3f _diffuse) |
void | create (vmml::Vector3d _position, vmml::Vector3f _diffuse, vmml::Vector3f _ambient, vmml::Vector3f _specular) |
vmml::Vector3d | getPosition () const |
void | setPosition (vmml::Vector3d _pos) |
vmml::Vector3f | getDiffuseTerm () const |
void | setDiffuseTerm (vmml::Vector3f _in) |
vmml::Vector3f | getAmbientTerm () const |
void | setAmbientTerm (vmml::Vector3f _in) |
vmml::Vector3f | getSpecularTerm () const |
void | setSpecularTerm (vmml::Vector3f _in) |
void | setDiffuseAmbientSpecularTerm (vmml::Vector3f _diffuse, vmml::Vector3f _ambient, vmml::Vector3f _specular) |
void | printInfo () |
Additional Inherited Members | |
Protected Attributes inherited from ge::DirectionalLight | |
vmml::Vector3d | direction |
Protected Attributes inherited from ge::Light | |
vmml::Vector3d | position |
PhongIlluminationProperties | illumination |
ge::SpotLight::SpotLight | ( | ) |
ge::SpotLight::~SpotLight | ( | ) |
void ge::SpotLight::clear | ( | ) |
void ge::SpotLight::create | ( | vmml::Vector3d | _position | ) |
vmml::Vector3d ge::SpotLight::getAttenuation | ( | ) |
float ge::SpotLight::getCutoff | ( | ) |
float ge::SpotLight::getExponent | ( | ) |
vmml::Vector3f ge::SpotLight::getIntensities | ( | ) |
vmml::Vector3d ge::SpotLight::getTarget | ( | ) |
vmml::Vector4f ge::SpotLight::getUpVector | ( | ) |
void ge::SpotLight::printInfo | ( | ) |
void ge::SpotLight::setAttenuation | ( | vmml::Vector3d | _attenuation | ) |
void ge::SpotLight::setCutoff | ( | float | _cut | ) |
void ge::SpotLight::setExponent | ( | float | _exp | ) |
void ge::SpotLight::setIntensities | ( | vmml::Vector3f | _intensities | ) |
void ge::SpotLight::setPosition | ( | vmml::Vector3d | _position | ) |
void ge::SpotLight::setTarget | ( | vmml::Vector3d | _position | ) |
void ge::SpotLight::update | ( | ) |
void ge::SpotLight::updateDirection | ( | ) |