SphereGeometry QML Type
SphereGeometry permite crear una esfera en el espacio 3D. Más información...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QSphereGeometry |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Propiedades
- generateTangents : bool
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
Descripción detallada
El tipo «SphereGeometry» se utiliza principalmente a nivel interno por el tipo « SphereMesh », pero también puede emplearse en tipos personalizados de « GeometryRenderer ».
Documentación de propiedades
generateTangents : bool
Contiene el valor del indicador de generación automática de vectores tangentes. Los vectores tangentes son ortogonales a los vectores normales.
indexAttribute : Attribute [read-only]
Contiene el atributo de índice geométrico.
normalAttribute : Attribute [read-only]
Contiene el atributo «normal» de la geometría.
positionAttribute : Attribute [read-only]
Almacena el atributo de posición geométrica.
radius : real
Almacena el radio de la esfera.
rings : int
Almacena el número de anillos que hay en la esfera.
slices : int
Almacena el número de secciones de la esfera.
tangentAttribute : Attribute [read-only]
Contiene el atributo «tangente» de la geometría.
texCoordAttribute : Attribute [read-only]
Contiene el atributo de coordenadas de textura geométrica.
© 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.