Isosurface style specification
- Source
Extends
Members
callback :Func
function to call on click
- Func
- Inherited From
- Source
clickable :boolean
if true, user can click on object to trigger callback
- boolean
- Inherited From
- Source
color :ColorSpec|Array
Either a single color for the whole object or an array specifying the color at each vertex (CustomShapeSpec
).
- ColorSpec |
Array
- Inherited From
- Source
contextMenuEnabled :boolean
if true, user can right-click or long press to trigger callback
- boolean
- Inherited From
- Source
coords :Array
coordinates around which to include data; use viewer.selectedAtoms() to convert an AtomSelectionSpec to coordinates
- Array
- Source
frame :number
if set, only display in this frame of an animation
- number
- Inherited From
- Source
hidden :boolean
if true, do not display object
- boolean
- Inherited From
- Source
hover_callback :Func
hover callback
- Func
- Inherited From
- Source
hoverable :boolean
if true, user can hover on object to trigger callback
- boolean
- Inherited From
- Source
isoval :number
specifies the isovalue to draw surface at
- number
- Source
linewidth :number
width of line for wireframe rendering No longer supported by most browsers
- number
- Inherited From
- Source
opacity :number
transparency, between 0 (invisible) and 1 (opaque)
- number
- Inherited From
- Source
seldist :number
distance around coords to include data [default = 2.0]
- number
- Source
selection :AtomSelectionSpec
selection around which to include data (alternative to coords)
- Source
smoothness :number
amount to smooth surface (default 1)
- number
- Source
unhover_callback :Func
unhover callback
- Func
- Inherited From
- Source
voldata :VolumeData
volumetric data for vertex coloring, can be VolumeData object or raw data if volformat is specified
- Source
volformat :string
format of voldata if not a $3Dmol.VolumeData object
- string
- Source
volscheme :GradientType
coloring scheme for mapping volumetric data to vertex color, if not a Gradient object, show describe a builtin gradient one by providing an object with gradient, min, max, and (optionally) mid fields.
- GradientType
- Source
voxel :boolean
if true uses voxel style rendering
- boolean
- Source
wireframe :boolean
draw as wireframe, not surface
- boolean
- Inherited From
- Source