Properties
assembly
assembly: string
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
flatShaded
flatShaded: boolean
interiorColor
interiorColor: Color
interiorDarkening
interiorDarkening: number
metalness
metalness: number
openEnded
openEnded: boolean
radialSegments
radialSegments: number
radiusType
radiusType: string
roughness
roughness: number
sphereDetail
sphereDetail: number
useInteriorColor
useInteriorColor: boolean
wireframe
wireframe: boolean
Structure representation parameter object.
RepresentationParameters
{String} radiusType - A list of possible sources of the radius used for rendering the representation. The radius can be based on the vdW radius, the covalent radius or the B-factor value of the corresponding atom. Additionally the radius can be based on the secondary structure. Alternatively, when set to size, the value from the radius parameter is used for all atoms.
{Float} radius - A number providing a fixed radius used for rendering the representation.
{Float} scale - A number that scales the value defined by the radius or the radiusType parameter.
{String} assembly - name of an assembly object. Included are the asymmetric unit (AU) corresponding to the coordinates given in the structure file, biological assemblies from PDB, mmCIF or MMTF files (BU1, BU2, ...), a filled (crystallographic) unitcell of a given space group (UNITCELL), a supercell consisting of a center unitcell and its 26 direct neighbors (SUPERCELL). Set to default to use the default asemmbly of the structure object.