Defines the mapping between voxel values and color and transparency.

Referenced by: Voxel Variable Style

Properties

PropertyDetails
alphaStops[]Describes the transparency stops (transparency mapping).
colorStops[]Describes the color stops defining the color ramp.
interpolationInterpolation mode
Valid values:
  • linear
  • nearest
rangeFilterDefines the range of voxels displayed. Voxels with values outside of this range will be discarded.
stretchRange[]Describes the low and high point for value-to-color mapping.

Example

{
"interpolation": "nearest",
"stretchRange": [
327.131,
2941.46
],
"colorStops": [
{
"color": [
255,
255,
100,
10
],
"position": 0.25
},
{
"color": [
10,
10,
255,
10
],
"position": 0.75
}
]
}