Light scene object.
More...
#include <Light.h>
|
| Light (double strength=10, std::array< unsigned char, 3 > color={255, 255, 255}) |
| Constrcutor. More...
|
|
Light scene object.
A Light emits light in all directions.
◆ Light()
spatium::gfx3d::Light::Light |
( |
double |
strength = 10 , |
|
|
std::array< unsigned char, 3 > |
color = {255, 255, 255} |
|
) |
| |
|
inline |
Constrcutor.
- Parameters
-
[in] | strength | Strength |
[in] | color | Color (RGB) |
◆ m_color
std::array<unsigned char, 3> spatium::gfx3d::Light::m_color |
|
protected |
◆ m_strength
double spatium::gfx3d::Light::m_strength |
|
protected |
The documentation for this class was generated from the following file:
- /home/martijn/Development/Projects/SpatiumLib/include/spatium/gfx3d/Light.h