|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Parameters describing a spot light. More...
#include <GREM/resource/Model.hpp>
Public Attributes | |
| vec3 | color |
| Color of the light in linear RGB space. | |
| float | intensity |
| Luminous intensity of the light, in candela, if it were colored pure white. | |
| float | range |
| Distance cutoff where the light's intensity reaches zero, or a non-positive value for infinite range. | |
| float | innerConeAngle |
| Angle, in radians, where the light cone reaches maximum brightness. | |
| float | outerConeAngle |
| Angle, in radians, where the light cone fades to zero. | |
Parameters describing a spot light.
| float grem::resource::Model::SpotLight::intensity |
Luminous intensity of the light, in candela, if it were colored pure white.
| float grem::resource::Model::SpotLight::range |
Distance cutoff where the light's intensity reaches zero, or a non-positive value for infinite range.
| float grem::resource::Model::SpotLight::innerConeAngle |
Angle, in radians, where the light cone reaches maximum brightness.
| float grem::resource::Model::SpotLight::outerConeAngle |
Angle, in radians, where the light cone fades to zero.