21 #ifndef CAELUM__MOON_H 22 #define CAELUM__MOON_H 27 #include "PrivatePtr.h" 59 Ogre::Degree mAngularSize;
62 void setup(Ogre::GpuProgramParametersSharedPtr fpParams);
64 Ogre::GpuProgramParametersSharedPtr fpParams;
72 Ogre::SceneManager *sceneMgr,
73 Ogre::SceneNode *caelumRootNode,
74 const Ogre::String& moonTextureName =
"moon_disc.dds",
75 Ogre::Degree angularSize = Ogre::Degree(3.77f));
82 void setMoonTexture (
const Ogre::String &textureName);
87 void setMoonTextureAngularSize(
const Ogre::Degree& moonTextureAngularSize);
92 void setBodyColour (
const Ogre::ColourValue &colour);
95 void setPhase (Ogre::Real phase);
98 void setMoonNorthPoleDirection(
const Ogre::Vector3& moonNorthPoleDir);
102 virtual void notifyCameraChanged (Ogre::Camera *cam);
104 virtual void setQueryFlags (uint flags);
105 virtual uint getQueryFlags ()
const;
106 virtual void setVisibilityFlags (uint flags);
107 virtual uint getVisibilityFlags ()
const;
111 #endif // CAELUM__MOON_H static const Ogre::String MOON_BACKGROUND_MATERIAL_NAME
Name of the moon background material.
Base class for sky lights (sun and moon).
static const Ogre::String MOON_MATERIAL_NAME
Name of the moon material.
Class representing the moon.
An optimized reference to a gpu shared parameter.