vtlib library
|
Public Member Functions | |
void | SetTime (const vtTime &time) |
Public Member Functions inherited from NodeExtension | |
void | SetEnabled (bool bOn) |
bool | GetEnabled () const |
void | SetCastShadow (bool b) |
Set this node to cast a shadow, if it is under a vtShadow node. Default is false. | |
bool | GetCastShadow () |
Get whether this node casts a shadow. | |
void | GetBoundSphere (FSphere &sphere, bool bGlobal=false) |
Get the Bounding Sphere of the node. | |
A StarDome is a sphere of stars, based on real star data, implemented as Points. The intended use is to make it large and far away from the camera, so that it is always behind all the terrain and objects in the world. It also contains an image of the Moon (as a texture billboard). The Moon and Stars are moved appropriately for the time (set with SetTime).
void vtStarDome::SetTime | ( | const vtTime & | time | ) |
Sets the time of day (or night).
time | Time in seconds since midnight. |