lilith3d::SunMoon Struct Reference

#include <timeclock.h>

List of all members.


Detailed Description

SunMoon is the light state of the world at any time, and is updated by the TimeClock. Note that there are 2 ambient / diffuse color models - a high contrast one for the terrain, and a low contrast one for models and buildings.


Public Attributes

bool sun
 If true, sun is up. If false, moon.
grinliz::Vector3F vector
 The unit vector to the sun or moon. z>0.
grinliz::Vector4F vector4
 The unit vector to the sun or moon. z>0.
grinliz::Color3F ambientColorH
 The ambient color high-contrast, post-multiplication by the ambient amount.
grinliz::Color4F ambientColorH4
 The ambient color high-contrast, post-multiplication by the ambient amount.
grinliz::Color3F diffuseColorH
 The diffuse color high-contrast, post-multiplication by the diffuse amount.
grinliz::Color4F diffuseColorH4
 The diffuse color high-contrast, post-multiplication by the diffuse amount.
grinliz::Color3F ambientColorL
 The ambient color low-contrast, post-multiplication by the ambient amount.
grinliz::Color3F diffuseColorL
 The diffuse color low-contrast, post-multiplication by the diffuse amount.
grinliz::Color4F ambientColorL4
 The ambient color low-contrast, post-multiplication by the ambient amount.
grinliz::Color4F diffuseColorL4
 The diffuse color low-contrast, post-multiplication by the diffuse amount.
grinliz::Color3F rawAmbientColor
 The ambient color before having the ambient amount applied. Generally not very useful.
grinliz::Color3F rawDiffuseColor
 The diffuse color before having the diffuse amount applied. Generally not very useful.
float skyBlend
 The ratio between the primary and secondary color (expressed as the amount of secondary).
int primarySky
 SUNRISE, DAYTIME, SUNSET, NIGHT.
int secondarySky
 SUNRISE, DAYTIME, SUNSET, NIGHT.
grinliz::Color3F skyColor
 The average color of the norther sky (used for fade to background).
const TextureprimarySkydomeTex
 The skydome texture.
const TexturesecondarySkydomeTex
 The secondary texture, if needed.


The documentation for this struct was generated from the following file:
Generated on Fri Mar 23 19:36:29 2007 for Lilith3D by  doxygen 1.5.1-p1