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

#include <CPointLight.h>

Inheritance diagram for ion::Scene::CPointLight:
Inheritance graph
Collaboration diagram for ion::Scene::CPointLight:
Collaboration graph

Public Member Functions

 CPointLight ()
color3f GetColor () const
float GetRadius () const
void SetColor (color3f const &Color)
void SetRadius (float const Radius)
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< float > Radius = 20.f
- Protected Attributes inherited from ion::Scene::ILight
Graphics::CUniform< vec3fPosition
map< string, SharedPointer< Graphics::IUniform > > Attributes

Constructor & Destructor Documentation

ion::Scene::CPointLight::CPointLight ( )

Member Function Documentation

color3f ion::Scene::CPointLight::GetColor ( ) const
string ion::Scene::CPointLight::GetLightType ( ) const

Implements ion::Scene::ILight.

float ion::Scene::CPointLight::GetRadius ( ) const
void ion::Scene::CPointLight::SetColor ( color3f const &  Color)
void ion::Scene::CPointLight::SetRadius ( float const  Radius)

Member Data Documentation

Graphics::CUniform<color3f> ion::Scene::CPointLight::Color = color3f(1.f)
Graphics::CUniform<float> ion::Scene::CPointLight::Radius = 20.f

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