Skip to main content

Interface: Bond3DOptions

Defined in: src/mobjects/three-d/Bond3D.ts:10

Options for creating a Bond3D.

Properties​

color?​

optional color: 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?​

optional endColor: string

Defined in: src/mobjects/three-d/Bond3D.ts:26

Color of the end half when split. Default: the base color.


opacity?​

optional opacity: number

Defined in: src/mobjects/three-d/Bond3D.ts:20

Opacity from 0 to 1. Default: 1


radialSegments?​

optional radialSegments: number

Defined in: src/mobjects/three-d/Bond3D.ts:22

Number of radial segments. Default: 16


radius?​

optional radius: number

Defined in: src/mobjects/three-d/Bond3D.ts:16

Cylinder radius. Default: 0.08


split?​

optional split: 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].