interface BuildVolumeIsosurfaceOptions {
    color?: [number, number, number];
    colormap?: ColormapStops;
    id?: string;
    isovalue?: number;
    opacity?: number;
    range?: [number, number];
}

Properties

color?: [number, number, number]

Surface colour. Default null — sample the colormap at the isovalue's normalised position (the colour that pixel would have on a slice through the same field). Pass an explicit [r, g, b] to override.

colormap?: ColormapStops

Colormap used when color === null. Default viridis.

id?: string

SceneModel id. Default "volumeIsosurface".

isovalue?: number

Scalar value the iso-surface tracks. Mesh contains the set { p ∈ R³ : grid(p) = isovalue }.

Defaults to the midpoint of the grid's value range.

opacity?: number

Surface opacity. Default 0.85.

range?: [number, number]

Value range mapped to the colormap. Default grid.valueRange or the data-driven min/max when unset.