QPlaneGeometryView Class

class Qt3DExtras::QPlaneGeometryView

Ein quadratisches, flächiges Netz. 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
Vererbt: Qt3DCore::QGeometryView
Status: Veraltet

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 der Eigenschaften

height : float

Enthält die Höhe der Ebene.

Zugriffsfunktionen:

float height() const
void setHeight(float height)

Melder-Signal:

void heightChanged(float height)

meshResolution : QSize

Enthält die Auflösung der Ebene. Die Werte für Breite und Höhe dieser Eigenschaft geben die Anzahl der Scheitelpunkte an, die für das Netz in den jeweiligen Dimensionen erzeugt werden.

Zugriffsfunktionen:

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

Melder-Signal:

void meshResolutionChanged(const QSize &meshResolution)

mirrored : bool

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

Zugriffsfunktionen:

bool mirrored() const
void setMirrored(bool mirrored)

Melder-Signal:

void mirroredChanged(bool mirrored)

width : float

Enthält die Breite der Ebene.

Zugriffsfunktionen:

float width() const
void setWidth(float width)

Melder-Signal:

void widthChanged(float width)

Member Function Dokumentation

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

Konstruiert eine neue QPlaneGeometryView mit parent.

© 2025 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.