TorusGeometry QML Type

TorusGeometry allows creation of a torus in 3D space. More...

Import Statement: import Qt3D.Extras 2.7
Instantiates: QTorusGeometry

Properties

Detailed Description

The TorusGeometry type is most commonly used internally by the TorusMesh type but can also be used in custom GeometryRenderer types.

Property Documentation

indexAttribute : Attribute [read-only]

Holds the geometry index attribute.


minorRadius : real

Holds the inner radius of the torus.


normalAttribute : Attribute [read-only]

Holds the geometry normal attribute.


positionAttribute : Attribute [read-only]

Holds the geometry position attribute.


radius : real

Holds the outer radius of the torus.


rings : int

Holds the number of rings in the torus.


slices : int

Holds the number of slices in the torus.


texCoordAttribute : Attribute [read-only]

Holds the geometry texture coordinate attribute.


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