CapsuleGeometry QML Type
Uma geometria para gerar um modelo de cápsula. Mais...
| Import Statement: | import QtQuick3D.Physics.Helpers |
| Since: | Qt 6.4 |
| Inherits: | |
| Status: | Deprecated since 6.10 |
Este tipo está obsoleto desde o QtQuick3D.Physics.Helpers 6.10. Recomendamos fortemente que não seja utilizado em código novo.
Propriedades
- diameter : real
- enableNormals : bool
- enableUV : bool
- height : real
- latitudes : int
- longitudes : int
- rings : int
Descrição detalhada
Obsoleto; use QtQuick3D.Helpers.CapsuleGeometry em seu lugar.
Uma geometria para gerar um modelo de cápsula.
Documentação das propriedades
diameter : real [default: 100]
Diâmetro no plano xz.
enableNormals : bool [default: true]
Gerar normais das faces da malha.
enableUV : bool [default: false]
Gerar coordenadas UV da malha.
height : real [default: 100]
Altura do cilindro do meio no eixo y, excluindo as hemisférias.
latitudes : int [default: 16]
Número de latitudes, distribuídas por inclinação. Deve ser um número par. Valores acima de 1024 são limitados.
longitudes : int [default: 32]
Número de longitudes, ou meridianos, distribuídos por azimute. Valores acima de 1024 são limitados.
rings : int [default: 1]
Número de seções no cilindro entre as hemisférias. Valores acima de 1024 são limitados.
© 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.