dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

FoggyWeather Class

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

public class FoggyWeather : 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 🡒 FoggyWeather

Implements IEnvironmentWeather, IMapComponent, ISceneViewEnvironmentWeather

Constructors

FoggyWeather() Constructor

Parameterless constructor for use as a Razor Component.

public FoggyWeather();

FoggyWeather(Nullable) Constructor

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

public FoggyWeather(System.Nullable<double> fogStrength=null);

Parameters

fogStrength System.Nullable<System.Double>

Specifies the amount of fog used in the scene.
default 0.5
ArcGIS Maps SDK for JavaScript

Properties

FoggyWeather.FogStrength Property

Specifies the amount of fog used in the scene.
default 0.5
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Double>

Methods

FoggyWeather.GetFogStrength() Method

Asynchronously retrieve the current value of the FogStrength property.

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

Returns

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

FoggyWeather.SetFogStrength(Nullable) Method

Asynchronously set the value of the FogStrength property after render.

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

Parameters

value System.Nullable<System.Double>

The value to set.

Returns

System.Threading.Tasks.Task