TorusGeometry QML Type
TorusGeometry permet de créer un tore dans l'espace 3D. En savoir plus...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QTorusGeometry |
| Status: | Deprecated |
Ce type est obsolète. Nous vous déconseillons fortement de l'utiliser dans du nouveau code.
Propriétés
- indexAttribute : Attribute
- minorRadius : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute
Description détaillée
Le type TorusGeometry est principalement utilisé en interne par le type « TorusMesh », mais peut également être utilisé dans des types d’ GeometryRenderer s personnalisés.
Documentation sur les propriétés
indexAttribute : Attribute [read-only]
Contient l'attribut d'index géométrique.
minorRadius : real
Contient le rayon intérieur du tore.
normalAttribute : Attribute [read-only]
Contient l'attribut « normal » de la géométrie.
positionAttribute : Attribute [read-only]
Contient l'attribut de position géométrique.
radius : real
Représente le rayon extérieur du tore.
rings : int
Contient le nombre d'anneaux du tore.
slices : int
Contient le nombre de tranches du tore.
texCoordAttribute : Attribute [read-only]
Contient l'attribut de coordonnées de texture géométrique.
© 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.