class WMDefaults
Available on all platforms
container for default values for each
Class Fields
static var gl_Atom:WMBase
Global default value for ATOM elements
- radius: 4.0
- color0: 0x00FF00
- alpha: 1.0
- quality: 3
- ambient: 0.35
- diffuse: 0.6
- specular: 0.3
- gloss: 30
- shader "Phong"
static var gl_Bond:WMBase
Global default for BOND element
- radius: 3.0
- color0: 0x00FF00
- color1: 0x00FF00
- alpha: 1.0
- offset: 0
- quality: 2
- ambient: 0.4
- diffuse: 0.5
- specular: 0.2
- gloss: 30
- shader: "Phong"
static var gl_BondDashed:Int
Whether dashed line is used or not. Note that this value is integer. Default is 0. A bond will be drawn in (this value+1) of dashes.
static var gl_BondRound:Bool
Whether spherical object is used intead for top and bottom faces. Default is true, VMD licorice like object is used.
static var gl_Coil:WMBase
Global default for COILs.
- radius: 3.0
- color0: 0x00FF00
- color1: 0x00FF00
- alpha: 1.0
- quality: 0
- ambient: 0.3
- diffuse: 0.6
- specular: 0.3
- gloss: 30
- shader: "Phong"
static var gl_Label:WMBase
Global default of LABELs
- width(radius; window width): 130.0
- color0(font color): 0xFFFFFF
- alpha: 1.0
static var gl_Object3D:WMBase
Global default for OBJ3Ds
- radius: 1.0
- color0: 0x00FF00
- alpha: 1.0
- quality: 3
- ambient: 0.4
- diffuse: 0.5
- specular: 0.2
- gloss: 30
- shader: "Phong"
static var gl_Ribbon:WMBase
Global default for RIBBONs
- radius(width): 8.0
- color0: 0xFF0000
- color1: 0xFF0000
- alpha: 1.0
- ambient: 0.3
- diffuse: 0.6
- specular: 0.3
- gloss: 30
- shader: "Phong"
static var gl_RibbonSmoothing:Bool
Global default for whether smooth ribbon is used. Default is false. Note that smooth ribbon is designed for beta-strand. You might not use for other purposes.
static var gl_Shape:WMBase
Global default for SHAPEs
- color0: 0x00FF00
- alpha: 1.0
- ambient: 0.4
- diffuse: 0.5
- specular: 0.2
- gloss: 30
- shader: "Phong"
Instance Fields
function new():Void
Constructor.
Initial value of SCENE local default values are copied from global default values.