CylinderGeometry allows creation of a cylinder in 3D space. More...
Import Statement: | import Qt3D.Extras |
Instantiates: | QCylinderGeometry |
The CylinderGeometry type is most commonly used internally by the CylinderMesh type but can also be used in custom GeometryRenderer types.
indexAttribute : Attribute
Holds the geometry index attribute.
length : real
Holds the length of the cylinder.
normalAttribute : Attribute
Holds the geometry normal attribute.
positionAttribute : Attribute
Holds the geometry position attribute.
radius : real
Holds the radius of the cylinder.
rings : int
Holds the number of rings in the cylinder.
slices : int
Holds the number of slices in the cylinder.
texCoordAttribute : Attribute
Holds the geometry texture coordinate attribute.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qt3d-extras-cylindergeometry.html