Light source that emits light in one direction as parallel rays <> the position.
More...
#include <DirectionalLight.h>
|
| DirectionalLight (double strength=10, std::array< unsigned char, 3 > color={255, 255, 255}) |
| Constrcutor. More...
|
|
| Light (double strength=10, std::array< unsigned char, 3 > color={255, 255, 255}) |
| Constrcutor. More...
|
|
Light source that emits light in one direction as parallel rays <> the position.
◆ DirectionalLight()
spatium::gfx3d::DirectionalLight::DirectionalLight |
( |
double |
strength = 10 , |
|
|
std::array< unsigned char, 3 > |
color = {255, 255, 255} |
|
) |
| |
|
inline |
Constrcutor.
- Parameters
-
[in] | direction | Direction of the light |
[in] | strength | Strength |
[in] | color | Color (RGB) |
◆ m_direction
The documentation for this class was generated from the following file: