#include <light.hh>
Inheritance diagram for A3DL::Light:
|
Definition at line 29 of file light.cc. Referenced by new_Light(). |
|
|
|
Get the light's color. See setColor() for details.
|
|
Get position of this light.
|
|
|
|
Get light radius. See setRadius() to see what this value means.
|
|
Get light's "static" property.
|
|
|
|
|
|
Initialize subproperties: position=(0,0,0), radius=1, color=(1,1,1).
|
|
|
|
|
|
Set the light's color. Components are specified between 0 (black) and 1 (full saturation).
Definition at line 94 of file light.cc. Referenced by initialize(). |
|
Set position of this light.
Definition at line 38 of file light.cc. Referenced by initialize(). |
|
|
|
Set light radius. Light falls off as a function of of the proportional distance between the center and radius distance. You could also think of this (along with the intensity or saturation of the light's color) it as a brightness factor.
Definition at line 70 of file light.cc. Referenced by initialize(). |
|
Set light's "static" property. Should only be set once, at creation. Definition at line 118 of file light.cc. Referenced by initialize(). |
|
Definition at line 44 of file light.hh. Referenced by initialize(). |