ConeGeometry QML Type
Fornisce la geometria di un cono. Altro...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
Proprietà
- asynchronous : bool
- bottomRadius : real
- length : real
- rings : int
- segments : int
- status : bool
- topRadius : real
Descrizione dettagliata
ConeGeometry è un tipo geometrico che rappresenta un cono. Le dimensioni del cono sono definite dal raggio superiore, dal raggio inferiore e dalla lunghezza. La topologia del cono è definita dal numero di anelli e segmenti.
Documentazione delle proprietà
asynchronous : bool
Questa proprietà indica se la generazione della geometria deve avvenire in modo asincrono.
bottomRadius : real
Questa proprietà indica il raggio della base del cono.
Nota: non è possibile impostare contemporaneamentetopRadius e bottomRadius 0.0
length : real
Questa proprietà indica la lunghezza del cono. Per generare un cono, questo valore deve essere maggiore di 0.
rings : int
Questa proprietà indica il numero di anelli del cono, ovvero le suddivisioni verticali del cono. Il valore minimo è 0, il che significa che il cono non presenta suddivisioni verticali.
segments : int
Questa proprietà indica il numero di segmenti del cono. Il valore minimo è 3; qualsiasi valore inferiore non genererà alcuna geometria.
status : bool [read-only]
Questa proprietà contiene lo stato della generazione della geometria quando il valore di "asynchronous" è "true".
| Costante | Descrizione |
|---|---|
ConeGeometry.Null | La generazione della geometria non è ancora iniziata |
ConeGeometry.Ready | La generazione della geometria è completa. |
ConeGeometry.Loading | La generazione della geometria è in corso. |
ConeGeometry.Error | La generazione della geometria non è andata a buon fine. |
topRadius : real
Questa proprietà indica il raggio superiore del cono. Il valore deve essere pari o superiore a 0.
Nota: non è possibile impostare contemporaneamentetopRadius e bottomRadius 0.0
© 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.