Skip to main content

Interface: Line3DOptions

Defined in: mobjects/three-d/Line3D.ts:7

Options for creating a Line3D

Properties

color?

optional color: string

Defined in: mobjects/three-d/Line3D.ts:13

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


end

end: Vector3Tuple

Defined in: mobjects/three-d/Line3D.ts:11

End point [x, y, z]. Required


lineWidth?

optional lineWidth: number

Defined in: mobjects/three-d/Line3D.ts:15

Line width in pixels. Default: 2


opacity?

optional opacity: number

Defined in: mobjects/three-d/Line3D.ts:17

Opacity from 0 to 1. Default: 1


start?

optional start: Vector3Tuple

Defined in: mobjects/three-d/Line3D.ts:9

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