Unigine::Plugins::IG::WeatherLayerCloud Class
Header: | #include <plugins/Unigine/IG/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:
2024-08-16
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)