dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

RainyWeather Class

The RainyWeather class allows you to change the weather conditions in the scene to rainy weather.
ArcGIS Maps SDK for JavaScript

public class RainyWeather : dymaptic.GeoBlazor.Core.Components.MapComponent,
dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentWeather,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ISceneViewEnvironmentWeather

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 RainyWeather

Implements IEnvironmentWeather, IMapComponent, ISceneViewEnvironmentWeather

Constructors

RainyWeather() Constructor

Parameterless constructor for use as a Razor Component.

public RainyWeather();

RainyWeather(Nullable, Nullable) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public RainyWeather(System.Nullable<double> cloudCover=null, System.Nullable<double> precipitation=null);

Parameters

cloudCover System.Nullable<System.Double>

Specifies the amount of cloud cover in the sky for a certain weather type.
default 0.5
ArcGIS Maps SDK for JavaScript

precipitation System.Nullable<System.Double>

Specifies the amount of falling rain.
default 0.5
ArcGIS Maps SDK for JavaScript

Properties

RainyWeather.CloudCover Property

Specifies the amount of cloud cover in the sky for a certain weather type.
default 0.5
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> CloudCover { get; set; }

Property Value

System.Nullable<System.Double>

RainyWeather.Precipitation Property

Specifies the amount of falling rain.
default 0.5
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> Precipitation { get; set; }

Property Value

System.Nullable<System.Double>

Methods

RainyWeather.GetCloudCover() Method

Asynchronously retrieve the current value of the CloudCover property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetCloudCover();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

RainyWeather.GetPrecipitation() Method

Asynchronously retrieve the current value of the Precipitation property.

public System.Threading.Tasks.Task<System.Nullable<double>> GetPrecipitation();

Returns

System.Threading.Tasks.Task<System.Nullable<System.Double>>

RainyWeather.SetCloudCover(Nullable) Method

Asynchronously set the value of the CloudCover property after render.

public System.Threading.Tasks.Task SetCloudCover(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task

RainyWeather.SetPrecipitation(Nullable) Method

Asynchronously set the value of the Precipitation property after render.

public System.Threading.Tasks.Task SetPrecipitation(System.Nullable<double> value);

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task