GlobeEngine
|
#include <DirectionalLight.h>
Public Member Functions | |
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 () |
Protected Attributes | |
vmml::Vector3d | direction |
Protected Attributes inherited from ge::Light | |
vmml::Vector3d | position |
PhongIlluminationProperties | illumination |
ge::DirectionalLight::DirectionalLight | ( | ) |
ge::DirectionalLight::~DirectionalLight | ( | ) |
|
virtual |
Reimplemented from ge::Light.
void ge::DirectionalLight::clear | ( | ) |
void ge::DirectionalLight::create | ( | vmml::Vector3d | _position, |
vmml::Vector3d | _direction | ||
) |
vmml::Vector3d ge::DirectionalLight::getDirection | ( | ) |
void ge::DirectionalLight::printInfo | ( | ) |
void ge::DirectionalLight::setDirection | ( | vmml::Vector3d | _direction | ) |
|
protected |