Track::FogSettings Struct Reference

A graphical effect that blends distant objects to a colour. More...

#include <Lighting.h>

List of all members.

Public Member Functions

 FogSettings ()
 FogSettings (std::istream &in)
bool operator!= (const FogSettings &other) const

Public Attributes

float colour [4]
 RGBA colour of the fog.
float density
 Fog thickness.
bool enabled
 true iff the fog is used at all.

Detailed Description

A graphical effect that blends distant objects to a colour.

Configure through Track::Lighting.

Definition at line 44 of file Lighting.h.

Constructor & Destructor Documentation

Track::FogSettings::FogSettings (  ) 

Definition at line 26 of file Lighting.cpp.

Track::FogSettings::FogSettings ( std::istream &  in  ) 

Definition at line 37 of file Lighting.cpp.

Member Function Documentation

bool Track::FogSettings::operator!= ( const FogSettings other  )  const

Definition at line 48 of file Lighting.cpp.

Member Data Documentation

float Track::FogSettings::colour[4]

RGBA colour of the fog.

Definition at line 49 of file Lighting.h.

float Track::FogSettings::density

Fog thickness.

Must be > 0. The fog is blended with a factor of e^(-density*distance^2).

Definition at line 54 of file Lighting.h.

bool Track::FogSettings::enabled

true iff the fog is used at all.

Definition at line 56 of file Lighting.h.

The documentation for this struct was generated from the following files:
Get Racer at Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.