Auf dieser Seite

TorusGeometry QML Type

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

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

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

Eigenschaften

Ausführliche Beschreibung

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

Dokumentation der Eigenschaften

indexAttribute : Attribute [read-only]

Enthält das Attribut „Geometrieindex“.

minorRadius : real

Enthält den Innenradius des Torus.

normalAttribute : Attribute [read-only]

Enthält das Attribut „Geometrie-Normale“.

positionAttribute : Attribute [read-only]

Enthält das Attribut „Geometrieposition“.

radius : real

Enthält den Außenradius des Torus.

rings : int

Enthält die Anzahl der Ringe im Torus.

slices : int

Enthält die Anzahl der Schnitte im Torus.

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.