SphereGeometry QML Type
SphereGeometry permet de créer une sphère dans l'espace 3D. Plus d'informations...
| Import Statement: | import Qt3D.Extras 2.11 |
| In C++: | QSphereGeometry |
| Status: | Deprecated |
Propriétés
- generateTangents : bool
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
Description détaillée
Le type SphereGeometry est le plus souvent utilisé en interne par le type SphereMesh, mais il peut également être utilisé dans des types GeometryRenderer personnalisés.
Documentation de la propriété
generateTangents : bool
Indique la valeur de l'indicateur de génération automatique des vecteurs tangents. Les vecteurs tangents sont orthogonaux aux vecteurs normaux.
indexAttribute : Attribute [read-only]
Contient l'attribut d'index de la géométrie.
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 de la sphère.
rings : int
Contient le nombre d'anneaux de la sphère.
slices : int
Contient le nombre de tranches de la sphère.
tangentAttribute : Attribute [read-only]
Détient l'attribut tangent de la géométrie.
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.