TorusGeometry QML Type
Fornisce la geometria di un toro. Per saperne di più...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
Proprietà
- asynchronous : bool
- radius : real
- rings : int
- segments : int
- status : bool
- tubeRadius : real
Descrizione dettagliata
TorusGeometry è un tipo geometrico che rappresenta un toro. Il toro è definito dal numero di anelli e segmenti e dal raggio del toro.
Documentazione delle proprietà
asynchronous : bool
Questa proprietà indica se la generazione della geometria deve avvenire in modo asincrono.
radius : real
Specifica il raggio del toro. Il valore predefinito è 100.
rings : int
Specifica il numero di anelli del toro. Il valore predefinito è 50.
segments : int
Specifica il numero di segmenti del toro. Il valore predefinito è 50.
status : bool [read-only]
Questa proprietà contiene lo stato della generazione della geometria quando il valore di "asynchronous" è "true".
| Costante | Descrizione |
|---|---|
TorusGeometry.Null | La generazione della geometria non è ancora iniziata |
TorusGeometry.Ready | La generazione della geometria è terminata. |
TorusGeometry.Loading | La generazione della geometria è in corso. |
TorusGeometry.Error | La generazione della geometria non è andata a buon fine. |
tubeRadius : real
Specifica il raggio del tubo del toro. Il valore predefinito è 10.
© 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.