Skip to main content

Interface: DockLigandOptions

Defined in: src/mobjects/molecular/dock.ts:35

Options for dockLigand.

Properties​

ligand​

ligand: Group

Defined in: src/mobjects/molecular/dock.ts:37

The ligand to dock (a Group, e.g. a Molecule3D).


runTime?​

optional runTime: number

Defined in: src/mobjects/molecular/dock.ts:43

The animation duration in seconds. Default: 2.


spin?​

optional spin: boolean

Defined in: src/mobjects/molecular/dock.ts:45

Tumble the ligand while it approaches. Default: true.


spinAngle?​

optional spinAngle: number

Defined in: src/mobjects/molecular/dock.ts:47

The tumble angle in radians. Default: 2 * PI.


startOffset?​

optional startOffset: Vector3Tuple

Defined in: src/mobjects/molecular/dock.ts:41

Where the ligand flies in from, relative to the target. Default: [0, 0, 8].


target​

target: Vector3Tuple

Defined in: src/mobjects/molecular/dock.ts:39

The pocket center the ligand docks into.