ConeGeometry QML Type

ConeGeometry ermöglicht die Erstellung eines Kegels im 3D-Raum. Mehr...

Import Statement: import Qt3D.Extras 2.8
In C++: QConeGeometry
Status: Deprecated

Eigenschaften

Detaillierte Beschreibung

Der Typ ConeGeometry wird am häufigsten intern vom Typ ConeMesh verwendet, kann aber auch in benutzerdefinierten GeometryRenderer Typen verwendet werden. Der Typ ConeGeometry ermöglicht die Erstellung sowohl eines Kegels als auch eines Kegelstumpfs.

Eigenschaft Dokumentation

bottomRadius : real

Enthält den unteren Radius des Kegels.


hasBottomEndcap : bool

Legt fest, ob der Boden des Kegels mit einer Kappe versehen oder offen ist.


hasTopEndcap : bool

Legt fest, ob die Kegeloberseite offen oder geschlossen ist.


indexAttribute : Attribute [read-only]

Enthält das Geometrie-Index-Attribut.


length : real

Enthält die Länge des Kegels.


normalAttribute : Attribute [read-only]

Enthält das Attribut Geometrienormal.


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 Slices in der Geometrie.


texCoordAttribute : Attribute [read-only]

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


topRadius : real

Enthält den oberen Radius des Kegels.


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