require(["esri/webscene/Environment"], function(Environment) { /* code goes here */ });
Class: esri/webscene/Environment
Inheritance: Environment Accessor
Since: ArcGIS API for JavaScript 4.0

Represents settings that affect the environment in which the WebScene is displayed (such as lighting). It is part of the initial state of the WebScene as well as slides in the presentation.

See also:
  • esri/webscene/InitialView
  • Slide

Constructors

new Environment(properties)

Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummary
String

The name of the class.

more details
more details
Lighting

Settings for defining the lighting of the scene.

more details
more details

Property Details

declaredClassStringreadonly

The name of the class. The declared class name is formatted as esri.folder.className.

Settings for defining the lighting of the scene.

Method Overview

NameReturn TypeSummary
Environment

Creates a deep clone of this object.

more details
more details

Method Details

clone(){Environment}

Creates a deep clone of this object.

Returns:
TypeDescription
EnvironmentCreates a deep clone of the instance calling this method.

API Reference search results

NameTypeModule

There were no match results from your search criteria.