Colobot
Public Member Functions | Public Attributes | List of all members
Gfx::LightProgression Struct Reference

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...
 

Detailed Description

Describes the progression of light parameters change.

Member Function Documentation

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)

Member Data Documentation

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.


The documentation for this struct was generated from the following files: