Planeshift
Public Attributes

LightingSetting Struct Reference

#include <modehandler.h>

List of all members.

Public Attributes

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

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.

last color at start of interpolation

Definition at line 294 of file modehandler.h.

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.

What time of day is this lighting for?

Definition at line 288 of file modehandler.h.

base ambient light

Definition at line 295 of file modehandler.h.

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.

Fog, Light or Ambient.

Definition at line 290 of file modehandler.h.

color when it is clear skies

Definition at line 292 of file modehandler.h.

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.

color when it is 100% downpour

Definition at line 293 of file modehandler.h.

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

Definition at line 289 of file modehandler.h.

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: