ConeGeometry QML Type
ConeGeometry consente di creare un cono nello spazio 3D. Maggiori informazioni...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QConeGeometry |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
Descrizione dettagliata
Il tipo ConeGeometry viene utilizzato principalmente a livello interno dal tipo ConeMesh, ma può essere impiegato anche nei tipi personalizzati GeometryRenderer. Il tipo ConeGeometry consente di creare sia un cono che un cono troncato.
Documentazione delle proprietà
bottomRadius : real
Contiene il raggio della base del cono.
hasBottomEndcap : bool
Determina se la base del cono è chiusa o aperta.
hasTopEndcap : bool
Determina se la sommità del cono è chiusa o aperta.
indexAttribute : Attribute [read-only]
Contiene l'attributo dell'indice geometrico.
length : real
Indica la lunghezza del cono.
normalAttribute : Attribute [read-only]
Contiene l'attributo "normale" della geometria.
positionAttribute : Attribute [read-only]
Contiene l'attributo di posizione della geometria.
rings : int
Contiene il numero di anelli presenti nella geometria.
slices : int
Contiene il numero di sezioni presenti nella geometria.
texCoordAttribute : Attribute [read-only]
Contiene l'attributo delle coordinate della texture geometrica.
topRadius : real
Contiene il raggio superiore del cono.
© 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.