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/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:
23.06.2023
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter