Auf dieser Seite

CylinderGeometry QML Type

Mit „CylinderGeometry“ lässt sich ein Zylinder im 3D-Raum erstellen. Mehr...

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

Dieser Typ ist veraltet. Wir raten dringend davon ab, ihn in neuem Code zu verwenden.

Eigenschaften

Ausführliche Beschreibung

Der Typ „CylinderGeometry“ wird intern am häufigsten vom Typ „ CylinderMesh “ verwendet, kann aber auch in benutzerdefinierten „ GeometryRenderer “-Typen verwendet werden.

Dokumentation der Eigenschaften

indexAttribute : Attribute [read-only]

Enthält das Attribut „Geometrieindex“.

length : real

Gibt die Länge des Zylinders an.

normalAttribute : Attribute [read-only]

Enthält das Attribut „Geometrie-Normale“.

positionAttribute : Attribute [read-only]

Enthält das Attribut „Geometrieposition“.

radius : real

Enthält den Radius des Zylinders.

rings : int

Enthält die Anzahl der Ringe im Zylinder.

slices : int

Enthält die Anzahl der Scheiben im Zylinder.

texCoordAttribute : Attribute [read-only]

Enthält das Attribut für die Geometrie-Texturkoordinaten.

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