Caelum::SkyDome Class Reference

A sky dome element. More...

#include <SkyDome.h>

Inheritance diagram for Caelum::SkyDome:

Caelum::CameraBoundElement

List of all members.

Public Member Functions

 SkyDome (Ogre::SceneManager *sceneMgr, Ogre::SceneNode *caelumRootNode)
 Constructor This will setup some nice defaults.
virtual ~SkyDome ()
 Destructor.
void setSunDirection (const Ogre::Vector3 &dir)
 Sets the sun direction.
void setHazeColour (const Ogre::ColourValue &hazeColour)
 Explicit haze colour.
void setSkyGradientsImage (const Ogre::String &gradients)
 Set the sky color gradients image.
void setAtmosphereDepthImage (const Ogre::String &gradients)
 Set the atmosphere depthh gradient image.
void setHazeEnabled (bool value)
 Enable or disable skydome haze.
bool getHazeEnabled () const
 If skydome haze is enabled.
void setQueryFlags (uint flags)
uint getQueryFlags () const
void setVisibilityFlags (uint flags)
uint getVisibilityFlags () const
virtual void notifyCameraChanged (Ogre::Camera *cam)
 Handle camera change.

Protected Member Functions

virtual void setFarRadius (Ogre::Real radius)
 Handle far radius.


Detailed Description

A sky dome element.

Definition at line 31 of file SkyDome.h.


Constructor & Destructor Documentation

Caelum::SkyDome::SkyDome ( Ogre::SceneManager sceneMgr,
Ogre::SceneNode caelumRootNode 
)


Member Function Documentation

void Caelum::SkyDome::setSunDirection ( const Ogre::Vector3 dir  ) 

void Caelum::SkyDome::setHazeEnabled ( bool  value  ) 

Enable or disable skydome haze.

This makes the sky darker. By default haze is disabled.

Definition at line 139 of file SkyDome.cpp.

References Ogre::Pass::getFragmentProgramParameters(), and Ogre::Pass::setFragmentProgram().

Referenced by SkyDome().


The documentation for this class was generated from the following files:

Generated on Mon Jan 19 09:15:32 2009 for Caelum by  doxygen 1.5.6