Unigine::Plugins::IG::WeatherLayerCloud Class
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to- Sim
SDK edition to use it.
You should upgrade to
Header: | #include <plugins/UnigineIG.h> |
Inherits from: | WeatherLayer |
This class is used to represent a cloud layer within a weather region. It enables you to define the cloud type and obtain the current Cloud Layer to manage its settings.
WeatherLayerCloud Class
Members
Ptr<ObjectCloudLayer> getNode ( ) const#
Returns a node representing the cloud layer (ObjectCloudLayer).void setCloudType ( int cloud_type, bool reset_cloud_to_default ) #
Sets a new cloud type for the layer.Arguments
- int cloud_type - Index of the cloud type for the layer.
- bool reset_cloud_to_default - true to reset all cloud layer parameters to defaults, false to keep current values.
int getCloudType ( ) const#
Returns the type of cloud set for the layer.Return value
Index of the cloud type for the layer.Last update:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)