QPlaneMesh Class
class Qt3DExtras::QPlaneMeshEin quadratisches, flächiges Netz. Mehr...
Kopfzeile: | #include <Qt3DExtras/QPlaneMesh> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake: | QT += 3dextras |
In QML: | PlaneMesh |
Vererbt: | Qt3DRender::QGeometryRenderer |
Status: | Veraltet |
Eigenschaften
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
Öffentliche Funktionen
QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
float | height() const |
QSize | meshResolution() const |
bool | mirrored() const |
float | width() const |
Öffentliche Slots
void | setHeight(float height) |
void | setMeshResolution(const QSize &resolution) |
void | setMirrored(bool mirrored) |
void | setWidth(float width) |
Signale
void | heightChanged(float height) |
void | meshResolutionChanged(const QSize &meshResolution) |
void | mirroredChanged(bool mirrored) |
void | widthChanged(float width) |
Dokumentation der Eigenschaften
height : float
Enthält die Höhe der Ebene.
Zugriffsfunktionen:
float | height() const |
void | setHeight(float height) |
Melder-Signal:
void | heightChanged(float height) |
meshResolution : QSize
Enthält die Auflösung der Ebene. Die Werte für Breite und Höhe dieser Eigenschaft geben die Anzahl der für das Netz erzeugten Scheitelpunkte in den jeweiligen Dimensionen an.
Zugriffsfunktionen:
QSize | meshResolution() const |
void | setMeshResolution(const QSize &resolution) |
Melder-Signal:
void | meshResolutionChanged(const QSize &meshResolution) |
mirrored : bool
Steuert, ob die UV-Koordinaten der Ebene vertikal gespiegelt werden sollen.
Zugriffsfunktionen:
bool | mirrored() const |
void | setMirrored(bool mirrored) |
Melder-Signal:
void | mirroredChanged(bool mirrored) |
width : float
Enthält die Breite der Ebene.
Zugriffsfunktionen:
float | width() const |
void | setWidth(float width) |
Melder-Signal:
void | widthChanged(float width) |
Member Function Dokumentation
[explicit]
QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
Konstruiert ein neues QPlaneMesh mit parent.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.