#include <MoonManager.h>
Definition at line 33 of file MoonManager.h.
◆ MoonManager()
SkyX::MoonManager::MoonManager |
( |
SkyX * |
s | ) |
|
◆ ~MoonManager()
SkyX::MoonManager::~MoonManager |
( |
| ) |
|
◆ _updateMoonBounds()
void SkyX::MoonManager::_updateMoonBounds |
( |
Ogre::Camera * |
c | ) |
|
|
private |
◆ create()
void SkyX::MoonManager::create |
( |
| ) |
|
◆ getMoonBillboard()
Ogre::BillboardSet* SkyX::MoonManager::getMoonBillboard |
( |
| ) |
|
|
inline |
Get moon billboard.
- Returns
- Moon billboard
Definition at line 66 of file MoonManager.h.
◆ getMoonHaloIntensity()
const Ogre::Real& SkyX::MoonManager::getMoonHaloIntensity |
( |
| ) |
const |
|
inline |
Get moon halo intensity.
- Returns
- Moon halo intensity
Definition at line 106 of file MoonManager.h.
◆ getMoonHaloStrength()
const Ogre::Real& SkyX::MoonManager::getMoonHaloStrength |
( |
| ) |
const |
|
inline |
Get moon halo strength.
- Returns
- Moon halo strength (linear/exponential fading)
Definition at line 122 of file MoonManager.h.
◆ getMoonSceneNode()
Ogre::SceneNode* SkyX::MoonManager::getMoonSceneNode |
( |
| ) |
|
|
inline |
Get moon scene node.
- Returns
- Moon scene node
Definition at line 74 of file MoonManager.h.
◆ getMoonSize()
const Ogre::Real& SkyX::MoonManager::getMoonSize |
( |
| ) |
const |
|
inline |
Get moon size.
- Returns
- Moon size
Definition at line 90 of file MoonManager.h.
◆ isCreated()
const bool& SkyX::MoonManager::isCreated |
( |
| ) |
const |
|
inline |
Is moon manager created?
- Returns
- true if yes, false if not
Definition at line 130 of file MoonManager.h.
◆ remove()
void SkyX::MoonManager::remove |
( |
| ) |
|
◆ setMoonHaloIntensity()
void SkyX::MoonManager::setMoonHaloIntensity |
( |
const Ogre::Real & |
MoonHaloIntensity | ) |
|
|
inline |
Set moon halo intensity.
- Parameters
-
MoonHaloIntensity | Moon halo intensity |
Definition at line 98 of file MoonManager.h.
◆ setMoonHaloStrength()
void SkyX::MoonManager::setMoonHaloStrength |
( |
const Ogre::Real & |
MoonHaloStrength | ) |
|
|
inline |
Set moon halo strength.
- Parameters
-
MoonHaloStrength | Moon halo strength (linear/exponential fading) |
Definition at line 114 of file MoonManager.h.
◆ setMoonSize()
void SkyX::MoonManager::setMoonSize |
( |
const Ogre::Real & |
MoonSize | ) |
|
|
inline |
◆ updateGeometry()
void SkyX::MoonManager::updateGeometry |
( |
Ogre::Camera * |
c | ) |
|
◆ updateMoonPhase()
void SkyX::MoonManager::updateMoonPhase |
( |
const Ogre::Real & |
phase | ) |
|
Update moon phase.
- Parameters
-
phase | Moon phase in [-1,1] range, where -1 means fully covered Moon, 0 clear Moon and 1 fully covered Moon |
Definition at line 96 of file MoonManager.cpp.
◆ mCreated
bool SkyX::MoonManager::mCreated |
|
private |
◆ mMoonBillboard
Ogre::BillboardSet* SkyX::MoonManager::mMoonBillboard |
|
private |
◆ mMoonHaloIntensity
Ogre::Real SkyX::MoonManager::mMoonHaloIntensity |
|
private |
◆ mMoonHaloStrength
Ogre::Real SkyX::MoonManager::mMoonHaloStrength |
|
private |
◆ mMoonMaterial
Ogre::MaterialPtr SkyX::MoonManager::mMoonMaterial |
|
private |
◆ mMoonSceneNode
Ogre::SceneNode* SkyX::MoonManager::mMoonSceneNode |
|
private |
◆ mMoonSize
Ogre::Real SkyX::MoonManager::mMoonSize |
|
private |
◆ mSkyX
SkyX* SkyX::MoonManager::mSkyX |
|
private |
The documentation for this class was generated from the following files: