CrossStyleSpec

Source: GLModel.ts

Cross 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 line

linewidth: number

deprecated due to vanishing browser support*

opacity: number

opacity (zero to one), must be the same for all atoms in a model

radius: number

radius of cross

scale: number

scale VDW radius by specified amount