Properties
assembly
assembly: string
atomQuad
atomQuad: (string | number)[][]
clipCenter
clipCenter: Vector3
clipNear
clipNear: number
clipRadius
clipRadius: number
color
color: number | string | Color
colorDomain
colorDomain: number[]
colorReverse
colorReverse: boolean
colorScale
colorScale: string | number[]
colorScheme
colorScheme: string
colorValue
colorValue: number
depthWrite
depthWrite: boolean
diffuseInterior
diffuseInterior: boolean
disableImpostor
disableImpostor: boolean
disablePicking
disablePicking: boolean
extendLine
extendLine: boolean
flatShaded
flatShaded: boolean
interiorColor
interiorColor: Color
interiorDarkening
interiorDarkening: number
labelAttachment
labelAttachment: "bottom-left" | "bottom-center" | "bottom-right" | "middle-left" | "middle-center" | "middle-right" | "top-left" | "top-center" | "top-right"
labelBackground
labelBackground: boolean
labelBackgroundColor
labelBackgroundColor: number
labelBackgroundMargin
labelBackgroundMargin: number
labelBackgroundOpacity
labelBackgroundOpacity: number
labelBorder
labelBorder: boolean
labelBorderColor
labelBorderColor: number
labelBorderWidth
labelBorderWidth: number
labelColor
labelColor: number
labelFixedSize
labelFixedSize: boolean
labelFontFamily
labelFontFamily: "sans-serif" | "monospace" | "serif"
labelFontStyle
labelFontStyle: "normal" | "italic"
labelFontWeight
labelFontWeight: "normal" | "bold"
labelFormat
labelFormat: string
labelGrouping
labelGrouping: "atom" | "residue"
labelSize
labelSize: number
labelText
labelText: string
labelType
labelType: "atomname" | "atomindex" | "occupancy" | "bfactor" | "serial" | "element" | "atom" | "resname" | "resno" | "res" | "text" | "qualified"
labelVisible
labelVisible: boolean
labelXOffset
labelXOffset: number
labelYOffset
labelYOffset: number
labelZOffset
labelZOffset: number
labelsdf
labelsdf: boolean
lineOpacity
lineOpacity: number
lineVisible
lineVisible: boolean
linewidth
linewidth: number
metalness
metalness: number
openEnded
openEnded: boolean
planeVisible
planeVisible: boolean
radialSegments
radialSegments: number
radiusType
radiusType: string
roughness
roughness: number
sectorVisible
sectorVisible: boolean
sphereDetail
sphereDetail: number
useInteriorColor
useInteriorColor: boolean
wireframe
wireframe: boolean
RepresentationParameters
StructureRepresentationParameters
MeasurementRepresentationParameters
{String} atomQuad - list of quadruplets of selection strings or atom indices
{Boolean} extendLine - Extend lines in planes
{Number} lineOpacity - Opacity for the line part of the representation
{Boolean} lineVisible - Display the line part of the representation
{Number} linewidth - width for line part of representation
{Boolean} planeVisible - Display the two planes corresponding to dihedral
{Boolean} sectorVisible - Display the filled arc for each angle