import SceneGraphicOrigin from "@arcgis/core/graphic/SceneGraphicOrigin.js";const SceneGraphicOrigin = await $arcgis.import("@arcgis/core/graphic/SceneGraphicOrigin.js");- Inheritance
- SceneGraphicOrigin→
GraphicOrigin
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Provides information about the SceneLayer from which a graphic originates. The origin information may be available when a graphic is returned from methods such as hitTest() or queryFeatures().
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| layer | The SceneLayer from which a graphic originates. | |
Properties
| Property | Type | Class |
|---|---|---|
| readonly | | |
| readonly | SceneLayer["type"] | |
type
readonly Property
- Type
- SceneLayer["type"]
Indicates the type of layer the graphic originated from.
- Default value
- "scene"