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