|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
24 #ifndef _SkyX_MoonManager_H_
25 #define _SkyX_MoonManager_H_
Ogre::SceneNode * getMoonSceneNode()
Get moon scene node.
Ogre::BillboardSet * mMoonBillboard
Moon billboard.
Ogre::SceneNode * mMoonSceneNode
Moon scene node.
MoonManager(SkyX *s)
Constructor.
void remove()
Remove all resources.
Ogre::Real mMoonHaloIntensity
Moon halo intensity.
Ogre::MaterialPtr mMoonMaterial
Moon material.
SkyX * mSkyX
SkyX parent pointer.
Ogre::Real mMoonSize
Moon size.
void create()
Create all resources.
void updateGeometry(Ogre::Camera *c)
Update geometry.
const Ogre::Real & getMoonHaloIntensity() const
Get moon halo intensity.
void setMoonSize(const Ogre::Real &MoonSize)
Set moon size.
Ogre::BillboardSet * getMoonBillboard()
Get moon billboard.
void setMoonHaloIntensity(const Ogre::Real &MoonHaloIntensity)
Set moon halo intensity.
~MoonManager()
Destructor.
const Ogre::Real & getMoonSize() const
Get moon size.
void _updateMoonBounds(Ogre::Camera *c)
Update moon bounds.
void updateMoonPhase(const Ogre::Real &phase)
Update moon phase.
const Ogre::Real & getMoonHaloStrength() const
Get moon halo strength.
const bool & isCreated() const
Is moon manager created?
Ogre::Real mMoonHaloStrength
Moon halo strength.
bool mCreated
Is moon manager created?
void setMoonHaloStrength(const Ogre::Real &MoonHaloStrength)
Set moon halo strength.