24 #ifndef _SkyX_VCloudsManager_H_
25 #define _SkyX_VCloudsManager_H_
42 VCloudsManager(
SkyX *s);
51 void create(
const Ogre::Real& radius = -1);
56 void update(
const Ogre::Real& timeSinceLastFrame);
72 inline void setAmbientGradient(
const ColorGradient& AmbientGradient)
74 mAmbientGradient = AmbientGradient;
80 inline const ColorGradient& getAmbientGradient()
const
82 return mAmbientGradient;
88 inline void setSunGradient(
const ColorGradient& SunGradient)
90 mSunGradient = SunGradient;
96 inline const ColorGradient& getSunGradient()
const
106 inline void setHeight(
const Ogre::Vector2& Height)
114 inline const Ogre::Vector2& getHeight()
const
123 inline void setAutoupdate(
const bool& Autoupdate)
125 mAutoupdate = Autoupdate;
126 _updateWindSpeedConfig();
132 inline const bool& getAutoupdate()
const
140 inline void setWindSpeed(
const Ogre::Real& WindSpeed)
142 mWindSpeed = WindSpeed;
143 _updateWindSpeedConfig();
149 inline const Ogre::Real& getWindSpeed()
const
156 inline VClouds::VClouds* getVClouds()
172 void _updateWindSpeedConfig();
177 void _setLightParameters();
183 VClouds::VClouds* mVClouds;
187 Ogre::Vector2 mHeight;
190 Ogre::Real mWindSpeed;
199 Ogre::Real mCurrentTimeSinceLastFrame;
202 ColorGradient mAmbientGradient;
203 ColorGradient mSunGradient;
void create()
Create SkyX.
void notifyCameraRender(Ogre::Camera *c)
Notify camera render (to be invoked per camera and per frame)
SkyX(Ogre::SceneManager *sm, Controller *c)
Contructor.
bool mCreated
Is SkyX created?
Definition: SkyX.h:422
class __declspec(dllimport) BasicController void update(const Ogre::Real &simDeltaTime)
Basic controller class.
#define DllExport
Include external headers.
Definition: Prerequisites.h:45
bool isCreated() const
Is SkyX created?
Definition: SkyX.h:147