sphere()
Creates a full sphere with the given radius.
Returns: SceneObject
Signatures
sphere(radius: number): SceneObject
Creates a full sphere with the given radius.
| Parameter | Type | Description |
|---|---|---|
radius | number | The sphere radius |
sphere(radius: number, angle: number): SceneObject
Creates a partial sphere with the given radius and sweep angle.
| Parameter | Type | Description |
|---|---|---|
radius | number | The sphere radius |
angle | number | The sweep angle in degrees |