Interface: Box3DOptions
Defined in: mobjects/three-d/Cube.ts:175
Options for creating a Box3D
Properties
center?
optionalcenter:Vector3Tuple
Defined in: mobjects/three-d/Cube.ts:183
Center position [x, y, z]. Default: [0, 0, 0]
color?
optionalcolor:string
Defined in: mobjects/three-d/Cube.ts:185
Color as CSS color string. Default: '#ffffff'
depth?
optionaldepth:number
Defined in: mobjects/three-d/Cube.ts:181
Depth (z dimension). Default: 1
height?
optionalheight:number
Defined in: mobjects/three-d/Cube.ts:179
Height (y dimension). Default: 1
opacity?
optionalopacity:number
Defined in: mobjects/three-d/Cube.ts:187
Opacity from 0 to 1. Default: 1
width?
optionalwidth:number
Defined in: mobjects/three-d/Cube.ts:177
Width (x dimension). Default: 1
wireframe?
optionalwireframe:boolean
Defined in: mobjects/three-d/Cube.ts:189
Whether to render as wireframe. Default: false