Colobot
|
Dynamic light in 3D scene. More...
#include <lightman.h>
Public Attributes | |
int | rank |
Rank (index) More... | |
bool | used |
Whether the light is used. More... | |
bool | enabled |
Whether the light is turned on. More... | |
LightPriority | priority |
Priority in assignment. More... | |
Light | light |
Configuration of the light. More... | |
LightProgression | intensity |
Progression of intensity [0, 1]. More... | |
LightProgression | colorRed |
Progression of red diffuse color. More... | |
LightProgression | colorGreen |
Progression of green diffuse color. More... | |
LightProgression | colorBlue |
Progression of blue diffuse color. More... | |
EngineObjectType | includeType |
Type of objects included in lighting with this light; if ENG_OBJTYPE_NULL is used, it is ignored. More... | |
EngineObjectType | excludeType |
Type of objects excluded from lighting with this light; if ENG_OBJTYPE_NULL is used, it is ignored. More... | |
Dynamic light in 3D scene.
It is an extension over standard light properties. Added are dynamic progressions for light colors and intensity and types of objects included/excluded in lighting.
int Gfx::DynamicLight::rank |
Rank (index)
bool Gfx::DynamicLight::used |
Whether the light is used.
bool Gfx::DynamicLight::enabled |
Whether the light is turned on.
LightPriority Gfx::DynamicLight::priority |
Priority in assignment.
Light Gfx::DynamicLight::light |
Configuration of the light.
LightProgression Gfx::DynamicLight::intensity |
Progression of intensity [0, 1].
LightProgression Gfx::DynamicLight::colorRed |
Progression of red diffuse color.
LightProgression Gfx::DynamicLight::colorGreen |
Progression of green diffuse color.
LightProgression Gfx::DynamicLight::colorBlue |
Progression of blue diffuse color.
EngineObjectType Gfx::DynamicLight::includeType |
Type of objects included in lighting with this light; if ENG_OBJTYPE_NULL is used, it is ignored.
EngineObjectType Gfx::DynamicLight::excludeType |
Type of objects excluded from lighting with this light; if ENG_OBJTYPE_NULL is used, it is ignored.