ConeGeometry QML Type
Mit „ConeGeometry“ lässt sich ein Kegel im 3D-Raum erstellen. Mehr dazu...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QConeGeometry |
| Status: | Deprecated |
Dieser Typ ist veraltet. Wir raten dringend davon ab, ihn in neuem Code zu verwenden.
Eigenschaften
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
Ausführliche Beschreibung
Der Typ „ConeGeometry“ wird intern am häufigsten vom Typ „ ConeMesh “ verwendet, kann aber auch in benutzerdefinierten „ GeometryRenderer “-Typen eingesetzt werden. Der Typ „ConeGeometry“ ermöglicht die Erstellung sowohl eines Kegels als auch eines Kegelstumpfs.
Dokumentation der Eigenschaften
bottomRadius : real
Gibt den unteren Radius des Kegels an.
hasBottomEndcap : bool
Gibt an, ob der Kegelboden verschlossen oder offen ist.
hasTopEndcap : bool
Gibt an, ob die Spitze des Kegels verschlossen oder offen ist.
indexAttribute : Attribute [read-only]
Enthält das Geometrie-Index-Attribut.
length : real
Gibt die Länge des Kegels an.
normalAttribute : Attribute [read-only]
Enthält das Attribut „Geometrie-Normale“.
positionAttribute : Attribute [read-only]
Enthält das Attribut „Geometrieposition“.
rings : int
Enthält die Anzahl der Ringe in der Geometrie.
slices : int
Enthält die Anzahl der Schichten in der Geometrie.
texCoordAttribute : Attribute [read-only]
Enthält das Attribut für die Geometrie-Texturkoordinaten.
topRadius : real
Gibt den oberen Radius des Kegels an.
© 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.