QPlaneGeometry Class

class Qt3DExtras::QPlaneGeometry

The QPlaneGeometry class allows creation of a plane in 3D space. * * * * The QPlaneGeometry class is most commonly used internally by the QPlaneMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses. More...

Header: #include <Qt3DExtras/QPlaneGeometry>
qmake: QT += 3dextras
Since: Qt 5.7
Instantiated By: PlaneGeometry
Inherits: Qt3DRender::QGeometry

This class was introduced in Qt 5.7.

Public Functions

QPlaneGeometry(Qt3DCore::QNode *parent = nullptr)
void updateIndices()
void updateVertices()

Detailed Description

* * * *

Member Function Documentation

QPlaneGeometry::QPlaneGeometry(Qt3DCore::QNode *parent = nullptr)

Constructs a new QPlaneGeometry with parent.

void QPlaneGeometry::updateIndices()

Updates indices based on mesh resolution.

void QPlaneGeometry::updateVertices()

Updates vertices based on mesh resolution, width, and height properties.