Interface: PolyhedronOptions
Defined in: mobjects/three-d/Polyhedra.ts:8
Base options for all polyhedra
Properties
center?
optionalcenter:Vector3Tuple
Defined in: mobjects/three-d/Polyhedra.ts:12
Center position [x, y, z]. Default: [0, 0, 0]
color?
optionalcolor:string
Defined in: mobjects/three-d/Polyhedra.ts:14
Color as CSS color string. Default: '#ffffff'
detail?
optionaldetail:number
Defined in: mobjects/three-d/Polyhedra.ts:20
Level of detail (subdivision level). Default: 0
opacity?
optionalopacity:number
Defined in: mobjects/three-d/Polyhedra.ts:16
Opacity from 0 to 1. Default: 1
sideLength?
optionalsideLength:number
Defined in: mobjects/three-d/Polyhedra.ts:10
Side length of the polyhedron. Default: 1
wireframe?
optionalwireframe:boolean
Defined in: mobjects/three-d/Polyhedra.ts:18
Whether to render as wireframe. Default: false