|
void | Create (const char *starfile, int depth, float radius, const char *sun_texture=NULL, const char *moon_texture=NULL) |
|
void | SetTime (const vtTime &time) |
|
void | Identity () |
|
void | SetTrans (const FPoint3 &pos) |
|
FPoint3 | GetTrans () const |
|
void | Translate (const FPoint3 &pos) |
|
void | TranslateLocal (const FPoint3 &pos) |
|
void | Rotate (const FPoint3 &axis, double angle) |
|
void | RotateLocal (const FPoint3 &axis, double angle) |
|
void | RotateParent (const FPoint3 &axis, double angle) |
|
FQuat | GetOrient () const |
|
FPoint3 | GetDirection () const |
|
void | SetDirection (const FPoint3 &point, bool bPitch=true) |
|
void | Scale (float factor) |
|
void | Scale (float x, float y, float z) |
|
void | SetTransform (const FMatrix4 &mat) |
|
void | GetTransform (FMatrix4 &mat) const |
|
void | PointTowards (const FPoint3 &point, bool bPitch=true) |
|
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 SkyDome is a hemisphere which is colored according to the time of day: shades of blue, plus yellow-orange at dawn and dusk. 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 Sun (as a texture billboard). The Sun is moved and sky is colored appropriately for the time of day (set with SetTime). It also supplies a real Light (vtLightSource) which approximates the actual color, direction and intensity of sunlight.