Interface: CubeOptions
Defined in: mobjects/three-d/Cube.ts:7
Options for creating a Cube
Properties
center?
optionalcenter:Vector3Tuple
Defined in: mobjects/three-d/Cube.ts:11
Center position [x, y, z]. Default: [0, 0, 0]
color?
optionalcolor:string
Defined in: mobjects/three-d/Cube.ts:13
Color as CSS color string. Default: '#ffffff'
opacity?
optionalopacity:number
Defined in: mobjects/three-d/Cube.ts:15
Opacity from 0 to 1. Default: 1
sideLength?
optionalsideLength:number
Defined in: mobjects/three-d/Cube.ts:9
Side length of the cube. Default: 1
wireframe?
optionalwireframe:boolean
Defined in: mobjects/three-d/Cube.ts:17
Whether to render as wireframe. Default: false