Defines the mapping between voxel values and color and transparency.
Referenced by: Voxel Variable Style
Properties
| Property | Details |
|---|---|
| alphaStops[] | Describes the transparency stops (transparency mapping). |
| colorStops[] | Describes the color stops defining the color ramp. |
| interpolation | Interpolation mode Valid values:
|
| rangeFilter | Defines 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 } ] }