Planeshift
LightingSetting Struct Reference

#include <modehandler.h>

Public Attributes

csRef< csShaderVariable > ambient_cache
 
csColor base_color
 last color at start of interpolation More...
 
csColor color
 Name of light, or name of sector. More...
 
csRef< csShaderVariable > combined_ambient_cache
 
double density
 What time of day is this lighting for? More...
 
csColor diff
 base ambient light More...
 
bool error
 
csWeakRef< iLight > light_cache
 sector of light is stored to make searching for rain faster More...
 
csString object
 Fog, Light or Ambient. More...
 
csColor raincolor
 color when it is clear skies More...
 
csString sector
 diff between last color and target color in interpolation More...
 
csWeakRef< iSector > sector_cache
 
csColor start_color
 color when it is 100% downpour More...
 
csString type
 What is the density level of the fog, if any. More...
 
size_t value
 Has this lighting value had an error yet. More...
 

Detailed Description

Definition at line 284 of file modehandler.h.

Member Data Documentation

csRef<csShaderVariable> LightingSetting::ambient_cache

Definition at line 301 of file modehandler.h.

csColor LightingSetting::base_color

last color at start of interpolation

Definition at line 294 of file modehandler.h.

csColor LightingSetting::color

Name of light, or name of sector.

Definition at line 291 of file modehandler.h.

csRef<csShaderVariable> LightingSetting::combined_ambient_cache

Definition at line 302 of file modehandler.h.

double LightingSetting::density

What time of day is this lighting for?

Definition at line 288 of file modehandler.h.

csColor LightingSetting::diff

base ambient light

Definition at line 295 of file modehandler.h.

bool LightingSetting::error

Definition at line 286 of file modehandler.h.

csWeakRef<iLight> LightingSetting::light_cache

sector of light is stored to make searching for rain faster

Definition at line 299 of file modehandler.h.

csString LightingSetting::object

Fog, Light or Ambient.

Definition at line 290 of file modehandler.h.

csColor LightingSetting::raincolor

color when it is clear skies

Definition at line 292 of file modehandler.h.

csString LightingSetting::sector

diff between last color and target color in interpolation

Definition at line 296 of file modehandler.h.

csWeakRef<iSector> LightingSetting::sector_cache

Definition at line 300 of file modehandler.h.

csColor LightingSetting::start_color

color when it is 100% downpour

Definition at line 293 of file modehandler.h.

csString LightingSetting::type

What is the density level of the fog, if any.

Definition at line 289 of file modehandler.h.

size_t LightingSetting::value

Has this lighting value had an error yet.

Definition at line 287 of file modehandler.h.


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