Constructor
#
new BondImage(model, im1, im2)
Parameters:
Name |
Type |
Description |
model |
Model
|
The model from which the image is from |
im1 |
AtomImage
|
AtomImage from which the bond starts |
im2 |
AtomImage
|
AtomImage to which the bond ends |
Members
#
(readonly) atom1 :AtomImage
First atom connected to this bond
#
(readonly) atom2 :AtomImage
Second atom connected to this bond
#
color1 :int
#
color2 :int
#
(readonly) key :String
A unique string key used to quickly reference the bond
#
(readonly) length :float
#
(readonly) mesh :AtomMesh
Mesh corresponding to this bond image
#
(readonly) model :Model
Model this bond belongs to
#
opacity1 :float
First opacity of the bond
#
opacity2 :float
Second opacity of the bond
#
radius :float
#
(readonly) renderer :Renderer
Renderer used by this bond
#
visible :bool
Whether the bond is visible