Skip to main content

Interface: Arrow3DOptions

Defined in: src/mobjects/three-d/Arrow3D.ts:8

Options for creating an Arrow3D

Properties​

color?​

optional color: string

Defined in: src/mobjects/three-d/Arrow3D.ts:14

Color as CSS color string. Default: '#ffffff'


end​

end: Vector3Tuple

Defined in: src/mobjects/three-d/Arrow3D.ts:12

End point (where the tip points) [x, y, z]. Required


opacity?​

optional opacity: number

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

Opacity from 0 to 1. Default: 1


radialSegments?​

optional radialSegments: number

Defined in: src/mobjects/three-d/Arrow3D.ts:24

Number of radial segments. Default: 16


shaftRadius?​

optional shaftRadius: number

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

Radius of the shaft. Default: 0.02


start?​

optional start: Vector3Tuple

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

Start point [x, y, z]. Default: [0, 0, 0]


tipLength?​

optional tipLength: number

Defined in: src/mobjects/three-d/Arrow3D.ts:18

Length of the arrowhead cone. Default: 0.2


tipRadius?​

optional tipRadius: number

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

Half-width of the arrowhead triangle base. Default: 0.08