Light source that emits a beam of light in one particular direction from a fixed point in space.
More...
#include <SpotLight.h>
|
| SpotLight (double radius, 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 a beam of light in one particular direction from a fixed point in space.
◆ SpotLight()
spatium::gfx3d::SpotLight::SpotLight |
( |
double |
radius, |
|
|
double |
strength = 10 , |
|
|
std::array< unsigned char, 3 > |
color = {255, 255, 255} |
|
) |
| |
|
inline |
Constrcutor.
- Parameters
-
[in] | position | Position of the light source |
[in] | direction | Direction of the light |
[in] | radius | Radius of the light beam |
[in] | strength | Strength of the light |
[in] | color | Color (RGB) |
◆ m_direction
◆ m_position
◆ m_radius
double spatium::gfx3d::SpotLight::m_radius |
|
protected |
The documentation for this class was generated from the following file:
- /home/martijn/Development/Projects/SpatiumLib/include/spatium/gfx3d/SpotLight.h