Class SceneEnvironment
The settings that affect the environment in which a scene is displayed.
Namespace: Esri.ArcGISRuntime.Mapping
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SceneEnvironment
Remarks
This includes rendering of the atmosphere effect, stars, and background color. If all three of these effects are set, they are rendered in the following order: background color, stars, then atmosphere.
Some scene environment effects will change depending on the position of the camera relative to the surface. Atmosphere effect is disabled when too far from the surface. Lighting and shadows are most accurate when closer to the surface and are disabled further from the surface.
The defaults are: opaque black background, VirtualLighting lighting, and atmosphere and stars enabled.
Constructors
| Name | Description |
|---|---|
| SceneEnvironment() | Initializes a new instance of the SceneEnvironment class. |
| SceneEnvironment(bool, bool, SceneLighting, Color) | Initializes a new instance of the SceneEnvironment class. |
Properties
| Name | Description |
|---|---|
| AreStarsEnabled | Gets or sets a value indicating whether stars should be visualized. |
| BackgroundColor | Gets or sets the color of the background that is displayed behind any scene objects. |
| IsAtmosphereEnabled | Gets or sets a value indicating whether the atmosphere should be visualized. This includes sky and haze effects. |
| Lighting | Gets or sets the lighting object that controls how the scene is lit. |
Applies to
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |