TorusGeometry QML Type
TorusGeometry permet de créer un tore dans l'espace 3D. Plus d'informations...
| Import Statement: | import Qt3D.Extras 2.11 |
| In C++: | QTorusGeometry |
| Status: | Deprecated |
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 le plus souvent utilisé en interne par le type TorusMesh mais peut également être utilisé dans des types personnalisés GeometryRenderer.
Documentation de la propriété
indexAttribute : Attribute [read-only]
Contient l'attribut d'index de la géométrie.
minorRadius : real
Indique le rayon intérieur du tore.
normalAttribute : Attribute [read-only]
Détient l'attribut normal de la géométrie.
positionAttribute : Attribute [read-only]
Contient l'attribut de position de la géométrie.
radius : real
Indique le rayon extérieur du tore.
rings : int
Contient le nombre d'anneaux dans le tore.
slices : int
Contient le nombre de tranches du tore.
texCoordAttribute : Attribute [read-only]
Contient l'attribut de coordonnées de la texture de la géométrie.
© 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.