En esta página

SphereGeometry QML Type

SphereGeometry permite la creación de una esfera en el espacio 3D. Más...

Import Statement: import Qt3D.Extras 2.11
In C++: QSphereGeometry
Status: Deprecated

Propiedades

Descripción detallada

El tipo SphereGeometry es más comúnmente utilizado internamente por el tipo SphereMesh pero también puede ser utilizado en tipos personalizados de GeometryRenderer.

Documentación de propiedades

generateTangents : bool

Mantiene el valor de la bandera 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 de geometría.

normalAttribute : Attribute [read-only]

Contiene el atributo normal de la geometría.

positionAttribute : Attribute [read-only]

Contiene el atributo de posición de la geometría.

radius : real

Mantiene el radio de la esfera.

rings : int

Contiene el número de anillos de la esfera.

slices : int

Contiene el número de rodajas de la esfera.

tangentAttribute : Attribute [read-only]

Contiene el atributo de tangente de la geometría.

texCoordAttribute : Attribute [read-only]

Contiene el atributo de coordenadas de la textura de la geometría.

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