SphereGeometry QML Type
SphereGeometry permet de créer une sphère dans l'espace 3D. Plus d'informations...
| Import Statement: | import Qt3D.Extras 2.10 |
| 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.
Propriété Documentation
generateTangents : bool |
Détient la valeur de l'indicateur de génération automatique des vecteurs tangents. Les vecteurs tangents sont orthogonaux aux vecteurs normaux.
indexAttribute : Attribute |
Contient l'attribut index de la géométrie.
normalAttribute : Attribute |
Contient l'attribut normal de la géométrie.
positionAttribute : Attribute |
Détient l'attribut position de la géométrie.
radius : real |
Indique le rayon de la sphère.
rings : int |
Indique le nombre d'anneaux dans la sphère.
slices : int |
Indique le nombre de tranches de la sphère.
tangentAttribute : Attribute |
Détient l'attribut de tangente de la géométrie.
texCoordAttribute : Attribute |
Détient l'attribut de coordonnées de texture de la géométrie.
© 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.