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