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