#include <Sun.h>

Public Member Functions | |
| SphereSun (Ogre::SceneManager *sceneMgr, Ogre::SceneNode *caelumRootNode, const Ogre::String &meshName="sphere.mesh") | |
| virtual | ~SphereSun () |
| void | setBodyColour (const Ogre::ColourValue &colour) |
| virtual void | notifyCameraChanged (Ogre::Camera *cam) |
| Handle camera change. | |
Static Public Attributes | |
| static const Ogre::String | SUN_MATERIAL_NAME = "CaelumSphereSun" |
| Name of the sun material. | |
Definition at line 40 of file Sun.h.
| caelum::SphereSun::SphereSun | ( | Ogre::SceneManager * | sceneMgr, | |
| Ogre::SceneNode * | caelumRootNode, | |||
| const Ogre::String & | meshName = "sphere.mesh" | |||
| ) |
Constructor.
| sceneMgr | The scene manager where the lights will be created. |
Definition at line 33 of file Sun.cpp.
References caelum::BaseSkyLight::mNode, and SUN_MATERIAL_NAME.
| caelum::SphereSun::~SphereSun | ( | ) | [virtual] |
Destructor.
Definition at line 44 of file Sun.cpp.
References caelum::BaseSkyLight::mNode.
| void caelum::SphereSun::setBodyColour | ( | const Ogre::ColourValue & | colour | ) | [virtual] |
Sets the sun sphere colour.
| colour | The colour used to draw the sun |
Reimplemented from caelum::BaseSkyLight.
Definition at line 55 of file Sun.cpp.
References caelum::BaseSkyLight::setBodyColour().
1.5.6