ConeGeometry QML Type
ConeGeometry permet de créer un cône dans l'espace 3D. Plus d'informations...
| Import Statement: | import Qt3D.Extras 2.11 |
| In C++: | QConeGeometry |
| Status: | Deprecated |
Propriétés
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
Description détaillée
Le type ConeGeometry est le plus souvent utilisé en interne par le type ConeMesh, mais il peut également être utilisé dans des types personnalisés GeometryRenderer. Le type ConeGeometry permet de créer à la fois un cône et un cône tronqué.
Documentation de la propriété
bottomRadius : real
Indique le rayon inférieur du cône.
hasBottomEndcap : bool
Détermine si le fond du cône est fermé ou ouvert.
hasTopEndcap : bool
Détermine si le sommet du cône est fermé ou ouvert.
indexAttribute : Attribute [read-only]
Contient l'attribut d'index de la géométrie.
length : real
Indique la longueur du cône.
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.
rings : int
Contient le nombre d'anneaux dans la géométrie.
slices : int
Contient le nombre de tranches dans la géométrie.
texCoordAttribute : Attribute [read-only]
Contient l'attribut de coordonnées de la texture de la géométrie.
topRadius : real
Indique le rayon supérieur du cône.
© 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.