import AnalysisOriginWebScene from "@arcgis/core/analysis/support/AnalysisOriginWebScene.js";const AnalysisOriginWebScene = await $arcgis.import("@arcgis/core/analysis/support/AnalysisOriginWebScene.js");- Inheritance:
- AnalysisOriginWebScene→
Accessor
- 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
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
Properties
| Property | Type | Class |
|---|---|---|
declaredClass readonly inherited | ||
type readonly | "web-scene" | |
Methods
| Method | Signature | Class |
|---|---|---|
clone inherited | clone(): this |
clone
- Signature
-
clone (): this
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.