SphereGeometry QML Type

Provides geometry for a sphere. More...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.9
Inherits:

Geometry

Properties

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 : float

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.

ConstantDescription
SphereGeometry.NullThe geometry generation has not started
SphereGeometry.ReadyThe geometry generation is complete.
SphereGeometry.LoadingThe geometry generation is in progress.
SphereGeometry.ErrorThe geometry generation failed.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.