Qt3DExtras::QPlaneMesh Class
class Qt3DExtras::QPlaneMeshUna malla plana cuadrada. Más...
| Encabezado: | #include <Qt3DExtras/QPlaneMesh> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake: | QT += 3dextras |
| En QML: | PlaneMesh |
| Heredado de: | Qt3DRender::QGeometryRenderer |
| Estado: | Obsoleto |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
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 avión.
Funciones de acceso:
| float | height() const |
| void | setHeight(float height) |
Señal de aviso:
| void | heightChanged(float height) |
meshResolution : QSize
Determina 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 respectivas dimensiones.
Funciones de acceso:
| QSize | meshResolution() const |
| void | setMeshResolution(const QSize &resolution) |
Señal de notificación:
| void | meshResolutionChanged(const QSize &meshResolution) |
mirrored : bool
Determina si las coordenadas UV del plano deben invertirse verticalmente.
Funciones de acceso:
| bool | mirrored() const |
| void | setMirrored(bool mirrored) |
Señal de notificación:
| void | mirroredChanged(bool mirrored) |
width : float
Almacena la anchura del plano.
Funciones de acceso:
| float | width() const |
| void | setWidth(float width) |
Señal de notificación:
| void | widthChanged(float width) |
Documentación de las funciones de miembro
[explicit] QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
Crea un nuevo objeto `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.