TorusGeometry QML Type
TorusGeometry consente di creare un toro nello spazio 3D. Maggiori informazioni...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QTorusGeometry |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- indexAttribute : Attribute
- minorRadius : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute
Descrizione dettagliata
Il tipo TorusGeometry viene utilizzato principalmente internamente dal tipo TorusMesh, ma può essere impiegato anche nei tipi personalizzati di GeometryRenderer.
Documentazione delle proprietà
indexAttribute : Attribute [read-only]
Contiene l'attributo dell'indice geometrico.
minorRadius : real
Contiene il raggio interno del toro.
normalAttribute : Attribute [read-only]
Contiene l'attributo "normale" della geometria.
positionAttribute : Attribute [read-only]
Contiene l'attributo di posizione della geometria.
radius : real
Contiene il raggio esterno del toro.
rings : int
Contiene il numero di anelli presenti nel toro.
slices : int
Contiene il numero di sezioni del toro.
texCoordAttribute : Attribute [read-only]
Contiene l'attributo delle coordinate della texture geometrica.
© 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.