#include <Light.h>
Collaboration diagram for Fluxus::Light:
Public Types | |
enum | Type { POINT, DIRECTIONAL, SPOT } |
Public Member Functions | |
Light () | |
virtual | ~Light () |
Renderer Interface | |
void | Render () |
Accessors | |
void | SetType (Type s) |
void | SetIndex (int s) |
void | SetAmbient (dColour s) |
void | SetDiffuse (dColour s) |
void | SetSpecular (dColour s) |
void | SetSpotAngle (float s) |
void | SetSpotExponent (float s) |
void | SetPosition (dVector s) |
void | SetAttenuation (int type, float s) |
void | SetDirection (dVector s) |
dVector | GetPosition () |
Camera Locking | |
Whether the light is to be locked onto the camera | |
void | SetCameraLock (bool s) |
bool | GetCameraLock () |
Protected Attributes | |
int | m_Index |
dColour | m_Ambient |
dColour | m_Diffuse |
dColour | m_Specular |
dVector | m_Position |
dVector | m_Direction |
Type | m_Type |
bool | m_CameraLock |
Friends | |
istream & | operator>> (istream &s, Light &o) |
ostream & | operator<< (ostream &s, Light &o) |
Definition at line 31 of file Light.h.
enum Fluxus::Light::Type |
istream& operator>> | ( | istream & | s, | |
Light & | o | |||
) | [friend] |
ostream& operator<< | ( | ostream & | s, | |
Light & | o | |||
) | [friend] |
int Fluxus::Light::m_Index [protected] |
dColour Fluxus::Light::m_Ambient [protected] |
dColour Fluxus::Light::m_Diffuse [protected] |
dColour Fluxus::Light::m_Specular [protected] |
dVector Fluxus::Light::m_Position [protected] |
dVector Fluxus::Light::m_Direction [protected] |
Type Fluxus::Light::m_Type [protected] |
bool Fluxus::Light::m_CameraLock [protected] |