In questa pagina

CylinderGeometry QML Type

CylinderGeometry consente di creare un cilindro nello spazio 3D. Maggiori informazioni...

Import Statement: import Qt3D.Extras 2.12
In C++: QCylinderGeometry
Status: Deprecated

Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.

Proprietà

Descrizione dettagliata

Il tipo CylinderGeometry viene utilizzato principalmente internamente dal tipo CylinderMesh, ma può essere impiegato anche in tipi personalizzati di GeometryRenderer.

Documentazione delle proprietà

indexAttribute : Attribute [read-only]

Contiene l'attributo dell'indice geometrico.

length : real

Indica la lunghezza del cilindro.

normalAttribute : Attribute [read-only]

Contiene l'attributo "normale" della geometria.

positionAttribute : Attribute [read-only]

Contiene l'attributo di posizione della geometria.

radius : real

Contiene il raggio del cilindro.

rings : int

Contiene il numero di anelli presenti nel cilindro.

slices : int

Contiene il numero di sezioni presenti nel cilindro.

texCoordAttribute : Attribute [read-only]

Contiene l'attributo delle coordinate della texture geometrica.

© 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.