Skip to content
import AnalysisOriginWebScene from "@arcgis/core/analysis/support/AnalysisOriginWebScene.js";
Inheritance:
AnalysisOriginWebSceneAccessor
Since
ArcGIS Maps SDK for JavaScript 4.33

An analysis origin indicating that the analysis was created or applied from a web scene. Analyses in web scenes are either stored in the initial view properties, or in slides in the web scene presentation.

Analyses in the SceneView.analyses collection that have an origin of type "web-scene" are replaced with the analyses stored in a Slide when it is applied to a SceneView with Slide.applyTo().

Using WebScene.updateFrom() to update the scene initial view properties, or Slide.updateFrom() to update a slide, will automatically set the origin of the analyses in the SceneView.analyses to type "web-scene" as they are being captured.

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.
PropertyTypeClass
declaredClass
readonly inherited
type
readonly
"web-scene"

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

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

type

readonly Property
Type
"web-scene"

The type of the analysis origin. This is always web-scene for this class.

Methods

MethodSignatureClass
clone
inherited
clone(): this

clone

inherited Method
Signature
clone (): this
Inherited from: ClonableMixin

Creates a deep clone of this object. Any properties that store values by reference will be assigned copies of the referenced values on the cloned instance.

Returns
this

A deep clone of the class instance that invoked this method.