SphereGeometry QML Type | Qt Quick 3D | Qt 6.11.2
Description: Provides geometry for a sphere.

- Qt 6.11
- Qt Quick 3D
- QML Types
- QtQuick3D.Helpers
- SphereGeometry
- Qt Quick 3D | Commercial or GPLv3

# SphereGeometry QML Type

Provides geometry for a sphere. More...

Import Statement: | `import QtQuick3D.Helpers`
Since: | Qt 6.9
Inherits: | Geometry

- List of all members, including inherited members

## Properties

- asynchronous : bool
- radius : real
- rings : int
- segments : int
- status : bool

## Detailed Description

SphereGeometry is a geometry type that represents a sphere. The sphere's size is defined by its radius. The topology of the sphere is defined by the number of rings and segments.

## Property Documentation

### asynchronous : bool

This property holds whether the geometry generation should be asynchronous.

### radius : real

The radius of the sphere. The default value is 100.0.

### rings : int

The number of rings in the sphere. The default value is 16.

### segments : int

The number of segments in the sphere. The default value is 32.

### status : bool `[read-only]`

This property holds the status of the geometry generation when asynchronous is true.

Constant | Description
--- | ---
`SphereGeometry.Null` | The geometry generation has not started
`SphereGeometry.Ready` | The geometry generation is complete.
`SphereGeometry.Loading` | The geometry generation is in progress.
`SphereGeometry.Error` | The geometry generation failed.