Provides geometry for a cylinder. More...
| Import Statement: | import QtQuick3D.Helpers
|
| Since: | Qt 6.9 |
| Inherits: |
CylinderGeometry is a geometry type that generates a cylinder shape. The cylinder's shape is defined by it's radius and length properties. The topology of the cylinder is defined by the number of segments and rings.
asynchronous : bool
This property holds whether the geometry generation should be asynchronous.
length : real
This property holds the length of the cylinder. This property must be greather than 0 to generate a valid cylinder.
radius : real
This property holds the radius of the cylinder. This property must be greater than 0 to generate a valid cylinder.
rings : int
This property holds the number of rings in the cylinder. The rings are the lengthwise divisions of the cylinder. The minimum number of rings is 0.
segments : int
This property holds the number of segments in the cylinder. The segments are the radial divisions of the cylinder. The minimum number of segments is 3.
status : bool [read-only]
This property holds the status of the geometry generation when asynchronous is true.
| Constant | Description |
|---|---|
CylinderGeometry.Null |
The geometry generation has not started |
CylinderGeometry.Ready |
The geometry generation is complete. |
CylinderGeometry.Loading |
The geometry generation is in progress. |
CylinderGeometry.Error |
The geometry generation failed. |
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qml-qtquick3d-helpers-cylindergeometry.html