SphereGeometry QML Type
Fornisce la geometria di una sfera. Altro...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
Proprietà
- asynchronous : bool
- radius : real
- rings : int
- segments : int
- status : bool
Descrizione dettagliata
SphereGeometry è un tipo geometrico che rappresenta una sfera. La dimensione della sfera è definita dal suo raggio. La topologia della sfera è definita dal numero di anelli e segmenti.
Documentazione delle proprietà
asynchronous : bool
Questa proprietà determina se la generazione della geometria debba avvenire in modo asincrono.
radius : real
Il raggio della sfera. Il valore predefinito è 100,0.
rings : int
Il numero di anelli nella sfera. Il valore predefinito è 16.
segments : int
Il numero di segmenti della sfera. Il valore predefinito è 32.
status : bool [read-only]
Questa proprietà contiene lo stato della generazione della geometria quando il valore di "asynchronous" è "true".
| Costante | Descrizione |
|---|---|
SphereGeometry.Null | La generazione della geometria non è ancora iniziata |
SphereGeometry.Ready | La generazione della geometria è terminata. |
SphereGeometry.Loading | La generazione della geometria è in corso. |
SphereGeometry.Error | La generazione della geometria non è riuscita. |
© 2026 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.