Sur cette page

Qt3DExtras::QPlaneGeometryView Class

class Qt3DExtras::QPlaneGeometryView

Un maillage plan carré. En savoir plus...

En-tête : #include <Qt3DExtras/QPlaneGeometryView>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
qmake : QT += 3dextras
En QML : PlaneGeometryView
Hérite de : Qt3DCore::QGeometryView
Statut : Obsolète

Cette classe est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.

Propriétés

Fonctions publiques

QPlaneGeometryView(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

* * * * * * *

Documentation des propriétés

height : float

Maintient la hauteur de l'avion.

Fonctions d'accès :

float height() const
void setHeight(float height)

Signal de notification :

void heightChanged(float height)

meshResolution : QSize

Définit la résolution du plan. Les valeurs de largeur et de hauteur de cette propriété spécifient le nombre de sommets 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

Détermine si les coordonnées UV du plan doivent être inversées verticalement.

Fonctions d'accès :

bool mirrored() const
void setMirrored(bool mirrored)

Signal de notification :

void mirroredChanged(bool mirrored)

width : float

Contient la largeur du plan.

Fonctions d'accès :

float width() const
void setWidth(float width)

Signal de notification :

void widthChanged(float width)

Documentation des fonctions membres

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

Crée un nouvel objet `QPlaneGeometryView` à l'aide de ` 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.