Interface: SphereOptions
Defined in: mobjects/three-d/Sphere.ts:7
Options for creating a Sphere
Properties
center?
optionalcenter:Vector3Tuple
Defined in: mobjects/three-d/Sphere.ts:11
Center position [x, y, z]. Default: [0, 0, 0]
color?
optionalcolor:string
Defined in: mobjects/three-d/Sphere.ts:13
Color as CSS color string. Default: '#ffffff'
opacity?
optionalopacity:number
Defined in: mobjects/three-d/Sphere.ts:15
Opacity from 0 to 1. Default: 1
radius?
optionalradius:number
Defined in: mobjects/three-d/Sphere.ts:9
Radius of the sphere. Default: 1
resolution?
optionalresolution:number
Defined in: mobjects/three-d/Sphere.ts:17
Number of segments for sphere geometry. Default: 32
wireframe?
optionalwireframe:boolean
Defined in: mobjects/three-d/Sphere.ts:19
Whether to render as wireframe. Default: false