Show / Hide Table of Contents

Constructor SceneEnvironment

SceneEnvironment()

Initializes a new instance of the SceneEnvironment class.

Declaration
public SceneEnvironment()
Remarks

The defaults are: opaque black background, VirtualLighting lighting, and atmosphere and stars enabled.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

SceneEnvironment(bool, bool, SceneLighting, Color)

Initializes a new instance of the SceneEnvironment class.

Declaration
public SceneEnvironment(bool isAtmosphereEnabled, bool areStarsEnabled, SceneLighting lighting, Color backgroundColor)
Parameters
Type Name Description
bool isAtmosphereEnabled

true if the atmosphere should be visualized, false otherwise. This includes sky and haze effects.

bool areStarsEnabled

true if stars should be visualized, false otherwise.

SceneLighting lighting

The lighting object containing information on how the scene is lit.

Color backgroundColor

The background color displayed behind any scene objects.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.