Skip to main content

Interface: ThreeDAxesOptions

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

Options for creating ThreeDAxes

Properties

axisColor?

optional axisColor: string

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

Default color for all axes. Default: '#ffffff'


shaftRadius?

optional shaftRadius: number

Defined in: mobjects/three-d/ThreeDAxes.ts:35

Shaft radius for arrows. Default: 0.01


showLabels?

optional showLabels: boolean

Defined in: mobjects/three-d/ThreeDAxes.ts:25

Whether to show axis labels (X, Y, Z). Default: false


showTicks?

optional showTicks: boolean

Defined in: mobjects/three-d/ThreeDAxes.ts:27

Whether to show tick marks. Default: true


tickLength?

optional tickLength: number

Defined in: mobjects/three-d/ThreeDAxes.ts:29

Length of tick marks. Default: 0.15


tipLength?

optional tipLength: number

Defined in: mobjects/three-d/ThreeDAxes.ts:31

Tip length for arrows. Default: 0.2


tipRadius?

optional tipRadius: number

Defined in: mobjects/three-d/ThreeDAxes.ts:33

Tip radius for arrows. Default: 0.08


xColor?

optional xColor: string

Defined in: mobjects/three-d/ThreeDAxes.ts:19

Color for x-axis (overrides axisColor). Default: same as axisColor


xRange?

optional xRange: [number, number, number]

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

X-axis range as [min, max, step]. Default: [-6, 6, 1]


yColor?

optional yColor: string

Defined in: mobjects/three-d/ThreeDAxes.ts:21

Color for y-axis (overrides axisColor). Default: same as axisColor


yRange?

optional yRange: [number, number, number]

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

Y-axis range as [min, max, step]. Default: [-5, 5, 1]


zColor?

optional zColor: string

Defined in: mobjects/three-d/ThreeDAxes.ts:23

Color for z-axis (overrides axisColor). Default: same as axisColor


zRange?

optional zRange: [number, number, number]

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

Z-axis range as [min, max, step]. Default: [-4, 4, 1]