Sur cette page

Qt3DExtras::QPlaneMesh Class

class Qt3DExtras::QPlaneMesh

Un maillage planaire carré. Plus d'informations...

En-tête : #include <Qt3DExtras/QPlaneMesh>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
qmake : QT += 3dextras
En QML : PlaneMesh
Hérite : Qt3DRender::QGeometryRenderer
Statut : Déclassé

Propriétés

Fonctions publiques

QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
float height() const
QSize meshResolution() const
bool mirrored() const
float width() const

Emplacements publics

void setHeight(float height)
void setMeshResolution(const QSize &resolution)
void setMirrored(bool mirrored)
void setWidth(float width)

Signaux

void heightChanged(float height)
void meshResolutionChanged(const QSize &meshResolution)
void mirroredChanged(bool mirrored)
void widthChanged(float width)

Description détaillée

Propriété Documentation

height : float

Maintient la hauteur du plan.

Fonctions d'accès :

float height() const
void setHeight(float height)

Signal de notification :

void heightChanged(float height)

meshResolution : QSize

Détient la résolution du plan. Les valeurs de largeur et de hauteur de cette propriété spécifient le nombre de vertices générés pour le maillage dans les dimensions respectives.

Fonctions d'accès :

QSize meshResolution() const
void setMeshResolution(const QSize &resolution)

Signal de notification :

void meshResolutionChanged(const QSize &meshResolution)

mirrored : bool

Contrôle si les coordonnées UV du plan doivent être retournées verticalement.

Fonctions d'accès :

bool mirrored() const
void setMirrored(bool mirrored)

Signal de notification :

void mirroredChanged(bool mirrored)

width : float

Indique la largeur du plan.

Fonctions d'accès :

float width() const
void setWidth(float width)

Signal de notification :

void widthChanged(float width)

Member Function Documentation

[explicit] QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)

Construit un nouveau QPlaneMesh avec 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.