A square planar mesh. More...
Header: | #include <Qt3DExtras/QPlaneMesh> |
CMake: | find_package(Qt6 COMPONENTS 3dextras REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake: | QT += 3dextras |
Instantiated By: | PlaneMesh |
Inherits: | Qt3DRender::QGeometryRenderer |
QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
float | height() const |
QSize | meshResolution() const |
bool | mirrored() const |
float | width() const |
void | setHeight(float height) |
void | setMeshResolution(const QSize &resolution) |
void | setMirrored(bool mirrored) |
void | setWidth(float width) |
void | heightChanged(float height) |
void | meshResolutionChanged(const QSize &meshResolution) |
void | mirroredChanged(bool mirrored) |
void | widthChanged(float width) |
* * * * * * *
Holds the plane height.
Access functions:
float | height() const |
void | setHeight(float height) |
Notifier signal:
void | heightChanged(float height) |
Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.
Access functions:
QSize | meshResolution() const |
void | setMeshResolution(const QSize &resolution) |
Notifier signal:
void | meshResolutionChanged(const QSize &meshResolution) |
[since 5.9]
mirrored : bool
Controls if the UV coordinates of the plane should be flipped vertically.
This property was introduced in Qt 5.9.
Access functions:
bool | mirrored() const |
void | setMirrored(bool mirrored) |
Notifier signal:
void | mirroredChanged(bool mirrored) |
Holds the plane width.
Access functions:
float | width() const |
void | setWidth(float width) |
Notifier signal:
void | widthChanged(float width) |
Constructs a new QPlaneMesh with parent.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3dextras-qplanemesh.html