#include <Light.h>
List of all members.
Static Public Member Functions |
static const char * | TYPENAME () |
Static Protected Attributes |
static int | id_key = 1 |
Detailed Description
Definition at line 31 of file Light.h.
Member Enumeration Documentation
- Enumerator:
LIGHT_POINT |
|
LIGHT_SPOT |
|
LIGHT_DIRECTIONAL |
|
LIGHT_FORCE_DWORD |
|
Definition at line 36 of file Light.h.
Constructor & Destructor Documentation
Light::Light |
( |
float |
l = 0.0f , |
|
|
float |
dl = 1.0f , |
|
|
int |
time = -1 |
|
) |
| |
Member Function Documentation
bool Light::CastsShadow |
( |
| ) |
const |
|
inline |
Color Light::GetColor |
( |
| ) |
const |
|
inline |
virtual Scene* Light::GetScene |
( |
| ) |
const |
|
inlinevirtual |
int Light::Identity |
( |
| ) |
const |
|
inline |
float Light::Intensity |
( |
| ) |
const |
|
inline |
bool Light::IsActive |
( |
| ) |
const |
|
inline |
bool Light::IsDirectional |
( |
| ) |
const |
|
inline |
bool Light::IsPoint |
( |
| ) |
const |
|
inline |
bool Light::IsSpot |
( |
| ) |
const |
|
inline |
virtual int Light::Life |
( |
| ) |
const |
|
inlinevirtual |
Point Light::Location |
( |
| ) |
const |
|
inline |
void Light::MoveTo |
( |
const Point & |
dst | ) |
|
|
virtual |
int Light::operator== |
( |
const Light & |
l | ) |
const |
|
inline |
void Light::SetActive |
( |
bool |
a | ) |
|
|
inline |
void Light::SetColor |
( |
Color |
c | ) |
|
|
inline |
void Light::SetIntensity |
( |
float |
f | ) |
|
|
inline |
virtual void Light::SetScene |
( |
Scene * |
s | ) |
|
|
inlinevirtual |
void Light::SetShadow |
( |
bool |
s | ) |
|
|
inline |
void Light::SetType |
( |
DWORD |
t | ) |
|
|
inline |
void Light::TranslateBy |
( |
const Point & |
ref | ) |
|
|
virtual |
DWORD Light::Type |
( |
| ) |
const |
|
inline |
static const char* Light::TYPENAME |
( |
| ) |
|
|
inlinestatic |
Member Data Documentation
The documentation for this class was generated from the following files: