import VoxelVariable from "@arcgis/core/layers/voxel/VoxelVariable.js";
const VoxelVariable = await $arcgis.import("@arcgis/core/layers/voxel/VoxelVariable.js");
@arcgis/core/layers/voxel/VoxelVariable
Describes a single variable in the VoxelLayer.
Property Overview
| Name | Type | Summary | Object |
|---|---|---|---|
The original data source description of the variable. | VoxelVariable | ||
The unique identifier for the variable. | VoxelVariable | ||
The original data source name of the variable. | VoxelVariable | ||
A description of various properties of the variable as it is represented on the GPU. | VoxelVariable | ||
The variable units. | VoxelVariable | ||
The volumeId of the variable. | VoxelVariable |
Property Details
-
description
Propertydescription Stringreadonly -
The original data source description of the variable.
-
id
Propertyid Numberreadonly -
The unique identifier for the variable.
-
name
Propertyname Stringreadonly -
The original data source name of the variable.
-
renderingFormat
PropertyrenderingFormat Objectreadonly -
A description of various properties of the variable as it is represented on the GPU.
- Properties
-
Whether or not the data is discrete or continuous.
Possible Values:"discrete"|"continuous"
optionalhasNoData BooleanDefault Value:falseWhether or not the data has a value representing NoData.
optionalnoData NumberDefault Value:0.0The NoData value if there is one.
Indicates how the data are encoded.
Possible Values:"Int8"|"UInt8"|"Int16"|"UInt16"|"Int32"|"UInt32"|"Float32"|"Float64"
-
unit
Propertyunit Stringreadonly -
The variable units.
-
volumeId
PropertyvolumeId Numberreadonly -
The volumeId of the variable. Currently always 0.