Interface: ThreeDAxesOptions
Defined in: mobjects/three-d/ThreeDAxes.ts:11
Options for creating ThreeDAxes
Properties
axisColor?
optionalaxisColor:string
Defined in: mobjects/three-d/ThreeDAxes.ts:19
Default color for all axes. Default: '#ffffff'
billboardLabels?
optionalbillboardLabels:boolean
Defined in: mobjects/three-d/ThreeDAxes.ts:42
Whether axis labels rotate to always face the camera (Manim CE's
add_fixed_orientation_mobjects behavior). Default: true.
labelBuffer?
optionallabelBuffer:number
Defined in: mobjects/three-d/ThreeDAxes.ts:37
Offset in world units from each axis tip to its label. Default: 0.4
labelFontSize?
optionallabelFontSize:number
Defined in: mobjects/three-d/ThreeDAxes.ts:35
Font size used when creating labels from strings (MathTexImage pixel size). Default: 32
labels?
optionallabels:object
Defined in: mobjects/three-d/ThreeDAxes.ts:29
Custom label text or Mobjects per axis. String entries become Text mobjects. Defaults: 'x', 'y', 'z'
x?
optionalx:string|Mobject
y?
optionaly:string|Mobject
z?
optionalz:string|Mobject
shaftRadius?
optionalshaftRadius:number
Defined in: mobjects/three-d/ThreeDAxes.ts:52
Shaft radius for arrows. Default: 0.01
showLabels?
optionalshowLabels:boolean
Defined in: mobjects/three-d/ThreeDAxes.ts:27
Whether to show axis labels (x, y, z). Default: false
showTicks?
optionalshowTicks:boolean
Defined in: mobjects/three-d/ThreeDAxes.ts:44
Whether to show tick marks. Default: true
tickLength?
optionaltickLength:number
Defined in: mobjects/three-d/ThreeDAxes.ts:46
Length of tick marks. Default: 0.15
tipLength?
optionaltipLength:number
Defined in: mobjects/three-d/ThreeDAxes.ts:48
Tip length for arrows. Default: 0.2
tipRadius?
optionaltipRadius:number
Defined in: mobjects/three-d/ThreeDAxes.ts:50
Tip radius for arrows. Default: 0.08
xColor?
optionalxColor:string
Defined in: mobjects/three-d/ThreeDAxes.ts:21
Color for x-axis (overrides axisColor). Default: same as axisColor
xRange?
optionalxRange: [number,number,number]
Defined in: mobjects/three-d/ThreeDAxes.ts:13
X-axis range as [min, max, step]. Default: [-6, 6, 1]
yColor?
optionalyColor:string
Defined in: mobjects/three-d/ThreeDAxes.ts:23
Color for y-axis (overrides axisColor). Default: same as axisColor
yRange?
optionalyRange: [number,number,number]
Defined in: mobjects/three-d/ThreeDAxes.ts:15
Y-axis range as [min, max, step]. Default: [-5, 5, 1]
zColor?
optionalzColor:string
Defined in: mobjects/three-d/ThreeDAxes.ts:25
Color for z-axis (overrides axisColor). Default: same as axisColor
zRange?
optionalzRange: [number,number,number]
Defined in: mobjects/three-d/ThreeDAxes.ts:17
Z-axis range as [min, max, step]. Default: [-4, 4, 1]