ConeGeometry QML Type

ConeGeometry permet de créer un cône dans l'espace 3D. Plus d'informations...

Import Statement: import Qt3D.Extras 2.10
In C++: QConeGeometry
Status: Deprecated

Propriétés

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é.

Propriété Documentation

bottomRadius : real

Indique le rayon de la base 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 géométrique.


length : real

Indique la longueur du cône.


normalAttribute : Attribute [read-only]

Contient l'attribut normal de la géométrie.


positionAttribute : Attribute [read-only]

Détient l'attribut position de la géométrie.


rings : int

Indique le nombre d'anneaux dans la géométrie.


slices : int

Indique le nombre de tranches dans la géométrie.


texCoordAttribute : Attribute [read-only]

Détient l'attribut de coordonnées de texture de la géométrie.


topRadius : real

Indique le rayon supérieur du cône.


© 2025 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.