QCylinderGeometry Class
class Qt3DExtras::QCylinderGeometryThe QCylinderGeometry class allows creation of a cylinder in 3D space. * * * * * The QCylinderGeometry class is most commonly used internally by the QCylinderMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses. More...
Header: | #include <Qt3DExtras/QCylinderGeometry> |
qmake: | QT += 3dextras |
Since: | Qt 5.7 |
Instantiated By: | CylinderGeometry |
Inherits: | Qt3DRender::QGeometry |
This class was introduced in Qt 5.7.
Public Functions
QCylinderGeometry(Qt3DCore::QNode *parent = nullptr) | |
void | updateIndices() |
void | updateVertices() |
Detailed Description
* * * *
Member Function Documentation
QCylinderGeometry::QCylinderGeometry(Qt3DCore::QNode *parent = nullptr)
Constructs a new QCylinderMesh with parent.
void QCylinderGeometry::updateIndices()
Updates the indices based on rings, slices, and length properties.
void QCylinderGeometry::updateVertices()
Updates the vertices based on rings, slices, and length properties.