Qt3DExtras::QPlaneMesh Class
class Qt3DExtras::QPlaneMeshUma malha plana quadrada. Mais...
| Cabeçalho: | #include <Qt3DExtras/QPlaneMesh> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake: | QT += 3dextras |
| No QML: | PlaneMesh |
| Herdado de: | Qt3DRender::QGeometryRenderer |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja utilizada em código novo.
Propriedades
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
Funções públicas
| QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
| float | height() const |
| QSize | meshResolution() const |
| bool | mirrored() const |
| float | width() const |
Slots públicos
| void | setHeight(float height) |
| void | setMeshResolution(const QSize &resolution) |
| void | setMirrored(bool mirrored) |
| void | setWidth(float width) |
Sinais
| void | heightChanged(float height) |
| void | meshResolutionChanged(const QSize &meshResolution) |
| void | mirroredChanged(bool mirrored) |
| void | widthChanged(float width) |
Documentação de propriedades
height : float
Mantém a altura do plano.
Funções de acesso:
| float | height() const |
| void | setHeight(float height) |
Sinal de notificação:
| void | heightChanged(float height) |
meshResolution : QSize
Define a resolução do plano. Os valores de largura e altura desta propriedade especificam o número de vértices gerados para a malha nas respectivas dimensões.
Funções de acesso:
| QSize | meshResolution() const |
| void | setMeshResolution(const QSize &resolution) |
Sinal de notificação:
| void | meshResolutionChanged(const QSize &meshResolution) |
mirrored : bool
Determina se as coordenadas UV do plano devem ser invertidas verticalmente.
Funções de acesso:
| bool | mirrored() const |
| void | setMirrored(bool mirrored) |
Sinal de notificação:
| void | mirroredChanged(bool mirrored) |
width : float
Armazena a largura do plano.
Funções de acesso:
| float | width() const |
| void | setWidth(float width) |
Sinal do notificador:
| void | widthChanged(float width) |
Documentação das funções de membro
[explicit] QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
Cria um novo objeto `QPlaneMesh` com ` parent`.
© 2026 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.