SphereGeometry QML Type
Fornece a geometria de uma esfera. Mais...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
Propriedades
- asynchronous : bool
- radius : real
- rings : int
- segments : int
- status : bool
Descrição detalhada
SphereGeometry é um tipo de geometria que representa uma esfera. O tamanho da esfera é definido por seu raio. A topologia da esfera é definida pelo número de anéis e segmentos.
Documentação das propriedades
asynchronous : bool
Essa propriedade determina se a geração da geometria deve ser assíncrona.
radius : real
O raio da esfera. O valor padrão é 100,0.
rings : int
O número de anéis na esfera. O valor padrão é 16.
segments : int
O número de segmentos na esfera. O valor padrão é 32.
status : bool [read-only]
Esta propriedade contém o status da geração da geometria quando o parâmetro “asynchronous” está definido como “true”.
| Constante | Descrição |
|---|---|
SphereGeometry.Null | A geração da geometria ainda não foi iniciada |
SphereGeometry.Ready | A geração da geometria está concluída. |
SphereGeometry.Loading | A geração da geometria está em andamento. |
SphereGeometry.Error | A geração da geometria falhou. |
© 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.