CapsuleGeometry QML Type
Una geometria per la generazione di un modello a capsula. Altro...
| Import Statement: | import QtQuick3D.Physics.Helpers |
| Since: | Qt 6.4 |
| Inherits: | |
| Status: | Deprecated since 6.10 |
Questo tipo è deprecato a partire da QtQuick3D.Physics.Helpers 6.10. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- diameter : real
- enableNormals : bool
- enableUV : bool
- height : real
- latitudes : int
- longitudes : int
- rings : int
Descrizione dettagliata
Obsoleto, utilizzare invece QtQuick3D.Helpers.CapsuleGeometry.
Una geometria per la generazione di un modello a capsula.
Documentazione delle proprietà
diameter : real [default: 100]
Diametro sul piano xz.
enableNormals : bool [default: true]
Genera le normali delle facce della mesh.
enableUV : bool [default: false]
Genera le coordinate UV della mesh.
height : real [default: 100]
Altezza del cilindro centrale sull'asse y, escluse le semisfere.
latitudes : int [default: 16]
Numero di latitudini, distribuite in base all'inclinazione. Deve essere un numero pari. I valori superiori a 1024 vengono limitati.
longitudes : int [default: 32]
Numero di longitudini, o meridiani, distribuiti in base all'azimut. I valori superiori a 1024 vengono limitati.
rings : int [default: 1]
Numero di sezioni nel cilindro tra gli emisferi. I valori superiori a 1024 vengono limitati.
© 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.