#include <Light.h>
Public Member Functions | |
Light (EngineParameters::LightParams light) | |
Math::Vector3d | getPosition () const |
void | setPosition (const Math::Vector3d &position) |
Util::Color | getColor () const |
void | setColor (const Util::Color &color) |
bool | getDynamic () const |
void | setDynamic (bool dynamic) |
|
Initialize the light with the given parameters.
|
|
Get the light's color.
|
|
Check if the light is dynamic. A dynamic light gets its color from a fire simulation.
|
|
Get the light's position.
|
|
Set the light's color.
|
|
Set whether the light is dynamic.
|
|
Set the light's position.
|