Skip to main content

Interface: Atom3DRender

Defined in: src/mobjects/molecular/Molecule3D.ts:92

A rendered atom: the resolved color, radius and the Sphere mobject.

Properties​

color​

color: string

Defined in: src/mobjects/molecular/Molecule3D.ts:98

The resolved CPK color.


element​

element: string

Defined in: src/mobjects/molecular/Molecule3D.ts:94

The element symbol as given in the spec.


position​

position: Vector3Tuple

Defined in: src/mobjects/molecular/Molecule3D.ts:96

The world position [x, y, z] (after the world scale).


radius​

radius: number

Defined in: src/mobjects/molecular/Molecule3D.ts:100

The resolved sphere radius in scene units (after the world scale).


sphere​

sphere: Sphere

Defined in: src/mobjects/molecular/Molecule3D.ts:102

The sphere mobject for this atom.