Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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.
void Update (float rTime)
 Updates the progression.
void SetTarget (float value)
 Sets the new end value (starting is set to current)

Public Attributes

float starting
 Starting value.
float ending
 Ending (destination) value.
float current
 Current value.
float progress
 Progress from start to end.
float speed
 Speed of progression.

Detailed Description

Describes the progression of light parameters change.


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