Interface: Bond3DOptions
Defined in: src/mobjects/three-d/Bond3D.ts:10
Options for creating a Bond3D.
Properties
color?
optionalcolor:string
Defined in: src/mobjects/three-d/Bond3D.ts:18
Color as a CSS color string. Default: '#cccccc'
end
end:
Vector3Tuple
Defined in: src/mobjects/three-d/Bond3D.ts:14
End point [x, y, z].
endColor?
optionalendColor:string
Defined in: src/mobjects/three-d/Bond3D.ts:26
Color of the end half when split. Default: the base color.
opacity?
optionalopacity:number
Defined in: src/mobjects/three-d/Bond3D.ts:20
Opacity from 0 to 1. Default: 1
radialSegments?
optionalradialSegments:number
Defined in: src/mobjects/three-d/Bond3D.ts:22
Number of radial segments. Default: 16
radius?
optionalradius:number
Defined in: src/mobjects/three-d/Bond3D.ts:16
Cylinder radius. Default: 0.08
split?
optionalsplit:boolean
Defined in: src/mobjects/three-d/Bond3D.ts:24
Split the bond into two half-length segments. Default: false
start
start:
Vector3Tuple
Defined in: src/mobjects/three-d/Bond3D.ts:12
Start point [x, y, z].