build-in.root :: () -> ()
For internal use.
ms-plugin.download :: Root -> String | Binary
Download string or binary data from the specified URL
- url: String (Resource URL. Must be the same domain or support CORS.)
- label?: String
- isBinary?: true/false (If true, download data as binary (string otherwise))
{
"url": "https://www.ebi.ac.uk/pdbe/static/entry/1cbs_updated.cif"
}
ms-plugin.read-file :: Root -> String | Binary
Read string or binary data from the specified file
- file: JavaScript File Handle
- label?: String
- isBinary?: true/false (If true, open file as as binary (string otherwise))
{}
ms-plugin.parse-cif :: String | Binary -> Cif
Parse CIF from String or Binary data
ms-plugin.parse-ccp4 :: Binary -> Ccp4
Parse CCP4 from Binary data
ms-plugin.trajectory-from-mmcif :: Cif -> Trajectory
Identify and create all separate models in the specified CIF data block
- blockHeader?: String (Header of the block to parse. If none is specifed, the 1st data block in the file is used.)
{}
ms-plugin.model-from-trajectory :: Trajectory -> Model
Create a molecular structure from the specified model.
- modelIndex: Numeric value (Zero-based index of the model)
{
"modelIndex": 0
}
ms-plugin.structure-from-model :: Model -> Structure
Create a molecular structure from the specified model.
ms-plugin.structure-assembly-from-model :: Model -> Structure
Create a molecular structure assembly.
- id: String (Assembly Id. If none specified (undefined or empty string), the asymmetric unit is used.)
{
"id": ""
}
ms-plugin.structure-selection :: Structure -> Structure
Create a molecular structure from the specified query expression.
- query: Value
- label?: String
{}
ms-plugin.structure-complex-element :: Structure -> Structure
Create a molecular structure from the specified model.
- type: One of 'atomic-sequence', 'water', 'atomic-het', 'spheres'
{
"type": "atomic-sequence"
}
ms-plugin.custom-model-properties :: Model -> Model
- properties: Array of (A list of property descriptor ids.)
{
"properties": []
}
ms-plugin.volume-from-ccp4 :: Ccp4 -> Data
Create Volume from CCP4/MRC data
- voxelSize: 3D vector [x, y, z]
{
"voxelSize": [
1,
1,
1
]
}
ms-plugin.representation-highlight-loci :: Root -> Behavior
ms-plugin.representation-select-loci :: Root -> Behavior
ms-plugin.default-loci-label-provider :: Root -> Behavior
ms-plugin.structure-representation-3d :: Structure -> Representation3D
type: Object { name: string, params: object } where name+params are:
cartoon:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- doubleSided: true/false
- flipSided: true/false
- flatShaded: true/false
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
- sizeFactor: Numeric value
- linearSegments: Numeric value
- radialSegments: Numeric value
- aspectRatio: Numeric value
- arrowFactor: Numeric value
- visuals: Array of 'polymer-trace', 'polymer-gap', 'nucleotide-block', 'direction-wedge'
ball-and-stick:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- doubleSided: true/false
- flipSided: true/false
- flatShaded: true/false
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
- sizeFactor: Numeric value
- detail: Numeric value
- linkScale: Numeric value
- linkSpacing: Numeric value
- radialSegments: Numeric value
- sizeAspectRatio: Numeric value
- visuals: Array of 'element-sphere', 'intra-link', 'inter-link'
carbohydrate:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- doubleSided: true/false
- flipSided: true/false
- flatShaded: true/false
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
- detail: Numeric value
- sizeFactor: Numeric value
- linkScale: Numeric value
- linkSpacing: Numeric value
- radialSegments: Numeric value
- linkSizeFactor: Numeric value
- visuals: Array of 'carbohydrate-symbol', 'carbohydrate-link', 'carbohydrate-terminal-link'
distance-restraint:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- doubleSided: true/false
- flipSided: true/false
- flatShaded: true/false
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
- linkScale: Numeric value
- linkSpacing: Numeric value
- radialSegments: Numeric value
- sizeFactor: Numeric value
molecular-surface:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- doubleSided: true/false
- flipSided: true/false
- flatShaded: true/false
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
- resolution: Numeric value
- radiusOffset: Numeric value
- smoothness: Numeric value
- useGpu: true/false
- ignoreCache: true/false
- sizeFactor: Numeric value
- lineSizeAttenuation: true/false
- visuals: Array of 'gaussian-surface', 'gaussian-wireframe'
molecular-volume:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- isoValue: Numeric value
- renderMode: One of 'isosurface', 'volume'
- controlPoints: A list of 2d vectors [xi, yi][]
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
- resolution: Numeric value
- radiusOffset: Numeric value
- smoothness: Numeric value
point:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- sizeFactor: Numeric value
- pointSizeAttenuation: true/false
- pointFilledCircle: true/false
- pointEdgeBleach: Numeric value
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
spacefill:
Object with:
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- doubleSided: true/false
- flipSided: true/false
- flatShaded: true/false
- unitKinds: Array of 'atomic', 'spheres', 'gaussians'
- sizeFactor: Numeric value
- detail: Numeric value
colorTheme: Object { name: string, params: object } where name+params are:
carbohydrate-symbol:
Object with:
chain-id:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
cross-link:
Object with:
- domain: Interval [min, max]
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
element-index:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
element-symbol:
Object with:
molecule-type:
Object with:
polymer-id:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
polymer-index:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
residue-name:
Object with:
secondary-structure:
Object with:
sequence-id:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
shape-group:
Object with:
unit-index:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
uniform:
Object with:
sizeTheme: Object { name: string, params: object } where name+params are:
{
"type": {
"name": "cartoon",
"params": {
"alpha": 1,
"useFog": true,
"highlightColor": 16737945,
"selectColor": 3407641,
"quality": "auto",
"doubleSided": false,
"flipSided": false,
"flatShaded": false,
"unitKinds": [
"atomic",
"spheres"
],
"sizeFactor": 0.2,
"linearSegments": 8,
"radialSegments": 16,
"aspectRatio": 5,
"arrowFactor": 1.5,
"visuals": [
"polymer-trace"
]
}
},
"colorTheme": {
"name": "polymer-id",
"params": {
"list": "RedYellowBlue"
}
},
"sizeTheme": {
"name": "uniform",
"params": {
"value": 1
}
}
}
ms-plugin.explode-structure-representation-3d :: Representation3D -> Obj
{
"t": 0
}
ms-plugin.volume-representation-3d :: Data -> Representation3D
type: Object { name: string, params: object } where name+params are:
colorTheme: Object { name: string, params: object } where name+params are:
carbohydrate-symbol:
Object with:
chain-id:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
cross-link:
Object with:
- domain: Interval [min, max]
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
element-index:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
element-symbol:
Object with:
molecule-type:
Object with:
polymer-id:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
polymer-index:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
residue-name:
Object with:
secondary-structure:
Object with:
sequence-id:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
shape-group:
Object with:
unit-index:
Object with:
- list: One of 'OrangeRed', 'PurpleBlue', 'BluePurple', 'Oranges', 'BlueGreen', 'YellowOrangeBrown', 'YellowGreen', 'Reds', 'RedPurple', 'Greens', 'YellowGreenBlue', 'Purples', 'GreenBlue', 'Greys', 'YellowOrangeRed', 'PurpleRed', 'Blues', 'PurpleBlueGreen', 'Spectral', 'RedYellowGreen', 'RedBlue', 'PinkYellowGreen', 'PurpleGreen', 'RedYellowBlue', 'BrownWhiteGreen', 'RedGrey', 'PurpleOrange', 'Set2', 'Accent', 'Set1', 'Set3', 'Dark2', 'Paired', 'Pastel2', 'Pastel1', 'Magma', 'Inferno', 'Plasma', 'Viridis', 'Cividis', 'Twilight', 'Rainbow', 'RedWhiteBlue'
uniform:
Object with:
sizeTheme: Object { name: string, params: object } where name+params are:
{
"type": {
"name": "isosurface",
"params": {
"alpha": 1,
"useFog": true,
"highlightColor": 16737945,
"selectColor": 3407641,
"quality": "auto",
"doubleSided": false,
"flipSided": false,
"flatShaded": false,
"isoValue": 0.22
}
},
"colorTheme": {
"name": "uniform",
"params": {
"value": 13421772
}
},
"sizeTheme": {
"name": "uniform",
"params": {
"value": 1
}
}
}
ms-plugin.focus-loci-on-select :: Root -> Behavior
- minRadius: Numeric value
- extraRadius: Numeric value (Value added to the boundning sphere radius of the Loci.)
{
"minRadius": 10,
"extraRadius": 4
}
ms-plugin.pdbe-structure-quality-report-prop :: Root -> Behavior
{
"autoAttach": false
}
ms-plugin.rcsb-assembly-symmetry-prop :: Root -> Behavior
{
"autoAttach": false
}
ms-plugin.structure-animation :: Root -> Behavior
- rotate: true/false
- rotateValue: Numeric value
- explode: true/false
- explodeValue: Numeric value
{
"rotate": false,
"rotateValue": 0,
"explode": false,
"explodeValue": 0
}
ms-plugin.scene-labels :: Root -> Behavior
- alpha: Numeric value
- useFog: true/false
- highlightColor: Color as 0xrrggbb
- selectColor: Color as 0xrrggbb
- quality: One of 'custom', 'auto', 'highest', 'higher', 'high', 'medium', 'low', 'lower', 'lowest'
- fontFamily: One of 'sans-serif', 'monospace', 'serif', 'cursive'
- fontQuality: One of '0', '1', '2', '3', '4'
- fontStyle: One of 'normal', 'italic', 'oblique'
- fontVariant: One of 'normal', 'small-caps'
- fontWeight: One of 'normal', 'bold'
- sizeFactor: Numeric value
- borderWidth: Numeric value
- borderColor: Color as 0xrrggbb
- offsetX: Numeric value
- offsetY: Numeric value
- offsetZ: Numeric value
- background: true/false
- backgroundMargin: Numeric value
- backgroundColor: Color as 0xrrggbb
- backgroundOpacity: Numeric value
- attachment: One of 'bottom-left', 'bottom-center', 'bottom-right', 'middle-left', 'middle-center', 'middle-right', 'top-left', 'top-center', 'top-right'
- levels: Array of 'structure', 'polymer', 'ligand'
{
"alpha": 1,
"useFog": true,
"highlightColor": 16737945,
"selectColor": 3407641,
"quality": "auto",
"fontFamily": "sans-serif",
"fontQuality": 3,
"fontStyle": "normal",
"fontVariant": "normal",
"fontWeight": "normal",
"sizeFactor": 1,
"borderWidth": 0,
"borderColor": 8421504,
"offsetX": 0,
"offsetY": 0,
"offsetZ": 0,
"background": true,
"backgroundMargin": 0.2,
"backgroundColor": 16775930,
"backgroundOpacity": 0.9,
"attachment": "middle-center",
"levels": []
}