CylinderGeometry QML Type
CylinderGeometry permet de créer un cylindre dans l'espace 3D. En savoir plus...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QCylinderGeometry |
| Status: | Deprecated |
Ce type est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.
Propriétés
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- texCoordAttribute : Attribute
Description détaillée
Le type CylinderGeometry est le plus souvent utilisé en interne par le type « CylinderMesh », mais il peut également être utilisé dans des types « GeometryRenderer » personnalisés.
Documentation sur les propriétés
indexAttribute : Attribute [read-only]
Contient l'attribut d'index géométrique.
length : real
Indique la longueur du cylindre.
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
Contient le rayon du cylindre.
rings : int
Indique le nombre d'anneaux dans le cylindre.
slices : int
Contient le nombre de tranches dans le cylindre.
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.