130 typedef std::map<unsigned int, SkyX::CloudLayer::Options*> CloudLayerOptionsMap;
131 CloudLayerOptionsMap cloudLayerOptionsMap;
132 typedef std::map<unsigned int, SkyX::CloudLayer*> CloudLayerMap;
133 CloudLayerMap cloudLayerMap;
146 virtual void Update(
const Ogre::Real& updateTime);
151 unsigned int AddLayer(
const Ogre::Real& heightFromCloudCeiling=0.0f,
const Ogre::Real& scale=0.001f,
const Ogre::Real& distanceAttenuation=0.05f,
const Ogre::Real& detailAttenuation=1.0f,
const Ogre::Real& heightVolume=0.25f,
const Ogre::Real& volumetricDisplacement=0.01f);
156 void RemoveLayer(
const unsigned int& index);
160 void RemoveAllLayers();
164 std::vector<int> GetLayerIndexes();
168 void SetParameters(
const unsigned int& index,
const float& heightFromCloudCeiling,
const float& scale,
const float& attenuationDistance,
const float& attenuationDetail,
const float& heightVolume,
const float& volumetricDisplacement);
172 Ogre::Real GetHeightFromCloudCeiling(
const unsigned int& index);
176 void SetHeightFromCloudCeiling(
const unsigned int& index,
const Ogre::Real& newHeightFromCloudCeiling);
180 Ogre::Real GetScale(
const unsigned int& index);
184 void SetScale(
const unsigned int& index,
const Ogre::Real& newScale);
188 Ogre::Real GetAttenuationDistance(
const unsigned int& index);
192 void SetAttenuationDistance(
const unsigned int& index,
const Ogre::Real& newAttenuationDistance);
196 Ogre::Real GetAttenuationDetail(
const unsigned int& index);
200 void SetAttenuationDetail(
const unsigned int& index,
const Ogre::Real& newAttenuationDetail);
204 Ogre::Real GetHeightVolume(
const unsigned int& index);
208 void SetHeightVolume(
const unsigned int& index,
const Ogre::Real& newHeightVolume);
212 Ogre::Real GetVolumetricDisplacement(
const unsigned int& index);
216 void SetVolumetricDisplacement(
const unsigned int& index,
const Ogre::Real& newVolumetricDisplacement);
220 virtual void SetEnableImpl(
const bool& enableComponent);
231 SkyX::CloudLayer::Options* GetLayerOptions(
const unsigned int& index);
235 void ApplyLayerOptions(
const unsigned int& index);