Qt3DExtras::QPlaneMesh Class
class Qt3DExtras::QPlaneMeshUna malla plana cuadrada. Más...
| Cabecera: | #include <Qt3DExtras/QPlaneMesh> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras)target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake: | QT += 3dextras |
| En QML: | PlaneMesh |
| Hereda: | Qt3DRender::QGeometryRenderer |
| Status: | Obsoleto |
Propiedades
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
Funciones públicas
| QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
| float | height() const |
| QSize | meshResolution() const |
| bool | mirrored() const |
| float | width() const |
Ranuras públicas
| void | setHeight(float height) |
| void | setMeshResolution(const QSize &resolution) |
| void | setMirrored(bool mirrored) |
| void | setWidth(float width) |
Señales
| void | heightChanged(float height) |
| void | meshResolutionChanged(const QSize &meshResolution) |
| void | mirroredChanged(bool mirrored) |
| void | widthChanged(float width) |
Documentación de propiedades
height : float
Mantiene la altura del plano.
Funciones de acceso:
| float | height() const |
| void | setHeight(float height) |
Señal de aviso:
| void | heightChanged(float height) |
meshResolution : QSize
Contiene la resolución del plano. Los valores de anchura y altura de esta propiedad especifican el número de vértices generados para la malla en las dimensiones respectivas.
Funciones de acceso:
| QSize | meshResolution() const |
| void | setMeshResolution(const QSize &resolution) |
Señal del notificador:
| void | meshResolutionChanged(const QSize &meshResolution) |
mirrored : bool
Controla si las coordenadas UV del plano deben voltearse verticalmente.
Funciones de acceso:
| bool | mirrored() const |
| void | setMirrored(bool mirrored) |
Señal del notificador:
| void | mirroredChanged(bool mirrored) |
width : float
Mantiene la anchura del plano.
Funciones de acceso:
| float | width() const |
| void | setWidth(float width) |
Señal del notificador:
| void | widthChanged(float width) |
Documentación de la función miembro
[explicit] QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
Construye un nuevo QPlaneMesh con 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.