In file include/csengine/cscolor.h:

## class csColor

> A class used to represent a color in RGB space

### Public Fields

float blue
  Blue (0..1)
float green
  Green (0..1)
float red
  Red (0..1)

### Public Methods

void Clamp(float r, float g, float b)
  Clamp color to given R,G,B values
csColor()
  Initialize a color object (contents undefined)
csColor(float r, float g, float b)
  Initialize a color object with given R,G,B components
inline void operator= (const csColor &Copy)
  Assign one color object to another
void Set(float r, float g, float b)
  Set color to given R,G,B components

## Documentation

> A class used to represent a color in RGB space

`float red`
  Red (0..1)

`float green`
  Green (0..1)

`float blue`
  Blue (0..1)

`csColor()`
  Initialize a color object (contents undefined)

`csColor(float r, float g, float b)`
  Initialize a color object with given R,G,B components

`void Set(float r, float g, float b)`
  Set color to given R,G,B components

`void Clamp(float r, float g, float b)`
  Clamp color to given R,G,B values

`inline void operator= (const csColor &Copy)`
  Assign one color object to another

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de