Skip to content

Interface: SphereData ​

Experimental

Data of a SphereSet. Every field is optional in updates.

Properties ​

PropertyTypeDescription
cmaxnumberExperimental
cmidnumber | nullExperimental
cminnumberExperimental
colorColorInputExperimental sRGB 0–1 RGBA, per sphere or one. Ignored while colorValues + colorscale are set.
colorscaleColorscale | nullExperimental
colorValuesArrayLike<number> | nullExperimental
nanColorRGBAExperimental
opacityScalarInputExperimental Multiplies the color alpha. Default 1.
originreadonly [number, number, number] | nullExperimental Explicit RTC origin; default: center of the finite data bounds.
reversescalebooleanExperimental
sizeScalarInputExperimental Diameter: CSS px at the center (sizing: 'screen') or world units. Default 6.
xArrayLike<number>Experimental Data-space centers (float64 recommended).
yArrayLike<number>Experimental
zArrayLike<number> | nullExperimental

Released under the MIT License.