SphereStyleSpec

Source: GLModel.ts

Sphere (spacefill) style specification


Instance Fields

color: ColorSpec

fixed coloring

colorfunc: function

Function receiving an atom and returning its color; used when colorscheme is not set.

colorscheme: ColorschemeSpec

colorscheme to use on atoms; overrides color

hidden: boolean

do not show spheres

opacity: number

Opacity from zero to one. Sphere imposters support different values per atom;
other rendering paths require one value for all sphere-styled atoms in the model.

radius: number

fixed radius of sphere

scale: number

scale VDW radius by specified amount