dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
WebsceneVirtualLighting Class
The virtual lighting object is part of the webscene/Environment and contains information relating to how a SceneView is lit with a virtual light.
ArcGIS Maps SDK for JavaScript
public class WebsceneVirtualLighting : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 WebsceneVirtualLighting
Derived
↳ VirtualLighting
Constructors
WebsceneVirtualLighting() Constructor
Parameterless constructor for use as a Razor Component.
public WebsceneVirtualLighting();
WebsceneVirtualLighting(Nullable) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public WebsceneVirtualLighting(System.Nullable<bool> directShadowsEnabled=null);
Parameters
directShadowsEnabled
System.Nullable<System.Boolean>
Indicates whether to show shadows cast by the light source.
default false
ArcGIS Maps SDK for JavaScript
Properties
WebsceneVirtualLighting.DirectShadowsEnabled Property
Indicates whether to show shadows cast by the light source.
default false
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> DirectShadowsEnabled { get; set; }
Property Value
System.Nullable<System.Boolean>
Methods
WebsceneVirtualLighting.GetDirectShadowsEnabled() Method
Asynchronously retrieve the current value of the DirectShadowsEnabled property.
public System.Threading.Tasks.Task<System.Nullable<bool>> GetDirectShadowsEnabled();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Boolean>>
WebsceneVirtualLighting.SetDirectShadowsEnabled(Nullable) Method
Asynchronously set the value of the DirectShadowsEnabled property after render.
public System.Threading.Tasks.Task SetDirectShadowsEnabled(System.Nullable<bool> value);
Parameters
value
System.Nullable<System.Boolean>
The value to set.