Auf dieser Seite

Qt3DExtras::QPlaneGeometryView Class

class Qt3DExtras::QPlaneGeometryView

Ein quadratisches, ebenes Gitter. Mehr...

Kopfzeile: #include <Qt3DExtras/QPlaneGeometryView>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
qmake: QT += 3dextras
In QML: PlaneGeometryView
Erbt von: Qt3DCore::QGeometryView
Status: Veraltet

Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.

Eigenschaften

Öffentliche Funktionen

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

Öffentliche Slots

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

Signale

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

Ausführliche Beschreibung

* * * * * * *

Dokumentation zu den Eigenschaften

height : float

Hält die Flugfläche.

Zugriffsfunktionen:

float height() const
void setHeight(float height)

Benachrichtigungssignal:

void heightChanged(float height)

meshResolution : QSize

Legt die Ebenenauflösung fest. Die Werte für Breite und Höhe dieser Eigenschaft geben die Anzahl der für das Netz in den jeweiligen Dimensionen erzeugten Scheitelpunkte an.

Zugriffsfunktionen:

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

Benachrichtigungssignal:

void meshResolutionChanged(const QSize &meshResolution)

mirrored : bool

Legt fest, ob die UV-Koordinaten der Ebene vertikal gespiegelt werden sollen.

Zugriffsfunktionen:

bool mirrored() const
void setMirrored(bool mirrored)

Benachrichtigungssignal:

void mirroredChanged(bool mirrored)

width : float

Enthält die Breite der Ebene.

Zugriffsfunktionen:

float width() const
void setWidth(float width)

Benachrichtigungssignal:

void widthChanged(float width)

Dokumentation der Member-Funktionen

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

Erstellt eine neue `QPlaneGeometryView` mit ` 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.