SphereGeometry QML Type
SphereGeometry permite a criação de uma esfera no espaço 3D. Mais...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QSphereGeometry |
| Status: | Deprecated |
Esse tipo está obsoleto. Recomendamos enfaticamente que não seja usado em códigos novos.
Propriedades
- generateTangents : bool
- indexAttribute : Attribute
- normalAttribute : Attribute
- positionAttribute : Attribute
- radius : real
- rings : int
- slices : int
- tangentAttribute : Attribute
- texCoordAttribute : Attribute
Descrição detalhada
O tipo `SphereGeometry` é mais comumente utilizado internamente pelo tipo ` SphereMesh `, mas também pode ser usado em tipos personalizados de ` GeometryRenderer `.
Documentação das propriedades
generateTangents : bool
Contém o valor do sinalizador de geração automática de vetores tangentes. Os vetores tangentes são ortogonais aos vetores normais.
indexAttribute : Attribute [read-only]
Contém o atributo de índice geométrico.
normalAttribute : Attribute [read-only]
Contém o atributo “normal” da geometria.
positionAttribute : Attribute [read-only]
Contém o atributo de posição da geometria.
radius : real
Armazena o raio da esfera.
rings : int
Armazena o número de anéis na esfera.
slices : int
Armazena o número de fatias da esfera.
tangentAttribute : Attribute [read-only]
Contém o atributo “tangente” da geometria.
texCoordAttribute : Attribute [read-only]
Contém o atributo de coordenadas de textura da geometria.
© 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.