Public Member Functions | Protected Attributes | List of all members
ion::Scene::CDirectionalLight Class Reference

#include <CDirectionalLight.h>

Inheritance diagram for ion::Scene::CDirectionalLight:
Inheritance graph
[legend]
Collaboration diagram for ion::Scene::CDirectionalLight:
Collaboration graph
[legend]

Public Member Functions

 CDirectionalLight ()
 
color3f GetColor () const
 
vec3f GetDirection () const
 
void SetColor (color3f const &Color)
 
void SetDirection (vec3f const &Direction)
 
string GetLightType () const
 
- Public Member Functions inherited from ion::Scene::ILight
 ILight ()
 
vec3f GetPosition () const
 
void SetPosition (vec3f const &Position)
 
size_t GetAttributeCount () const
 
map< string, SharedPointer< Graphics::IUniform > > const & GetAttributes () const
 
SharedPointer< Graphics::IUniformGetAttributeByName (string const &Name)
 

Protected Attributes

Graphics::CUniform< color3fColor = color3f(1.f)
 
Graphics::CUniform< vec3fDirection = vec3f(0, -1, 0)
 
- Protected Attributes inherited from ion::Scene::ILight
Graphics::CUniform< vec3fPosition
 
map< string, SharedPointer< Graphics::IUniform > > Attributes
 

Constructor & Destructor Documentation

ion::Scene::CDirectionalLight::CDirectionalLight ( )

Member Function Documentation

color3f ion::Scene::CDirectionalLight::GetColor ( ) const
vec3f ion::Scene::CDirectionalLight::GetDirection ( ) const
string ion::Scene::CDirectionalLight::GetLightType ( ) const
virtual

Implements ion::Scene::ILight.

void ion::Scene::CDirectionalLight::SetColor ( color3f const &  Color)
void ion::Scene::CDirectionalLight::SetDirection ( vec3f const &  Direction)

Member Data Documentation

Graphics::CUniform<color3f> ion::Scene::CDirectionalLight::Color = color3f(1.f)
protected
Graphics::CUniform<vec3f> ion::Scene::CDirectionalLight::Direction = vec3f(0, -1, 0)
protected

The documentation for this class was generated from the following files: