dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components

Environment Class

Represents settings that affect the environment in which the WebScene is displayed (such as lighting).
ArcGIS Maps SDK for JavaScript

public class Environment : dymaptic.GeoBlazor.Core.Components.MapComponent

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

Constructors

Environment() Constructor

Parameterless constructor for use as a Razor Component.

public Environment();

Environment(Nullable, Background, IEnvironmentLighting, Nullable, IEnvironmentWeather) Constructor

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

public Environment(System.Nullable<bool> atmosphereEnabled=null, dymaptic.GeoBlazor.Core.Components.Background? background=null, dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentLighting? lighting=null, System.Nullable<bool> starsEnabled=null, dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentWeather? weather=null);

Parameters

atmosphereEnabled System.Nullable<System.Boolean>

Specifies whether the atmosphere should be displayed.
default true
ArcGIS Maps SDK for JavaScript

background Background

Specifies how the background of the scene (which lies behind sky, stars and atmosphere) should be displayed.
default null
ArcGIS Maps SDK for JavaScript

lighting IEnvironmentLighting

Settings for defining the lighting of the scene.
default SunLighting
ArcGIS Maps SDK for JavaScript

starsEnabled System.Nullable<System.Boolean>

Specifies whether stars should be displayed in the sky.
default true
ArcGIS Maps SDK for JavaScript

weather IEnvironmentWeather

Indicates the type of weather visualization in the scene.
default SunnyWeather
ArcGIS Maps SDK for JavaScript

Properties

Environment.AtmosphereEnabled Property

Specifies whether the atmosphere should be displayed.
default true
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> AtmosphereEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

Environment.Background Property

Specifies how the background of the scene (which lies behind sky, stars and atmosphere) should be displayed.
default null
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Background? Background { get; set; }

Property Value

Background

Environment.Lighting Property

Settings for defining the lighting of the scene.
default SunLighting
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentLighting? Lighting { get; set; }

Property Value

IEnvironmentLighting

Environment.StarsEnabled Property

Specifies whether stars should be displayed in the sky.
default true
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> StarsEnabled { get; set; }

Property Value

System.Nullable<System.Boolean>

Environment.Weather Property

Indicates the type of weather visualization in the scene.
default SunnyWeather
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentWeather? Weather { get; set; }

Property Value

IEnvironmentWeather

Methods

Environment.GetAtmosphereEnabled() Method

Asynchronously retrieve the current value of the AtmosphereEnabled property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetAtmosphereEnabled();

Returns

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

Environment.GetBackground() Method

Asynchronously retrieve the current value of the Background property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Background?> GetBackground();

Returns

System.Threading.Tasks.Task<Background>

Environment.GetLighting() Method

Asynchronously retrieve the current value of the Lighting property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentLighting?> GetLighting();

Returns

System.Threading.Tasks.Task<IEnvironmentLighting>

Environment.GetStarsEnabled() Method

Asynchronously retrieve the current value of the StarsEnabled property.

public System.Threading.Tasks.Task<System.Nullable<bool>> GetStarsEnabled();

Returns

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

Environment.GetWeather() Method

Asynchronously retrieve the current value of the Weather property.

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentWeather?> GetWeather();

Returns

System.Threading.Tasks.Task<IEnvironmentWeather>

Environment.SetAtmosphereEnabled(Nullable) Method

Asynchronously set the value of the AtmosphereEnabled property after render.

public System.Threading.Tasks.Task SetAtmosphereEnabled(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

Environment.SetBackground(Background) Method

Asynchronously set the value of the Background property after render.

public System.Threading.Tasks.Task SetBackground(dymaptic.GeoBlazor.Core.Components.Background? value);

Parameters

value Background

The value to set.

Returns

System.Threading.Tasks.Task

Environment.SetLighting(IEnvironmentLighting) Method

Asynchronously set the value of the Lighting property after render.

public System.Threading.Tasks.Task SetLighting(dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentLighting? value);

Parameters

value IEnvironmentLighting

The value to set.

Returns

System.Threading.Tasks.Task

Environment.SetStarsEnabled(Nullable) Method

Asynchronously set the value of the StarsEnabled property after render.

public System.Threading.Tasks.Task SetStarsEnabled(System.Nullable<bool> value);

Parameters

value System.Nullable<System.Boolean>

The value to set.

Returns

System.Threading.Tasks.Task

Environment.SetWeather(IEnvironmentWeather) Method

Asynchronously set the value of the Weather property after render.

public System.Threading.Tasks.Task SetWeather(dymaptic.GeoBlazor.Core.Interfaces.IEnvironmentWeather? value);

Parameters

value IEnvironmentWeather

The value to set.

Returns

System.Threading.Tasks.Task

Environment.ValidateRequiredGeneratedChildren() Method

Validates source-generated child components.

public override void ValidateRequiredGeneratedChildren();

Implements ValidateRequiredGeneratedChildren()