Colobot
|
Describes the progression of light parameters change. More...
#include <lightman.h>
Public Member Functions | |
void | Init (float value) |
Initializes the progression. More... | |
void | Update (float rTime) |
Updates the progression. More... | |
void | SetTarget (float value) |
Sets the new end value (starting is set to current) More... | |
Public Attributes | |
float | starting |
Starting value. More... | |
float | ending |
Ending (destination) value. More... | |
float | current |
Current value. More... | |
float | progress |
Progress from start to end. More... | |
float | speed |
Speed of progression. More... | |
Describes the progression of light parameters change.
void Gfx::LightProgression::Init | ( | float | value | ) |
Initializes the progression.
void Gfx::LightProgression::Update | ( | float | rTime | ) |
Updates the progression.
void Gfx::LightProgression::SetTarget | ( | float | value | ) |
Sets the new end value (starting is set to current)
float Gfx::LightProgression::starting |
Starting value.
float Gfx::LightProgression::ending |
Ending (destination) value.
float Gfx::LightProgression::current |
Current value.
float Gfx::LightProgression::progress |
Progress from start to end.
float Gfx::LightProgression::speed |
Speed of progression.