In questa pagina

Qt3DExtras::QPlaneGeometryView Class

class Qt3DExtras::QPlaneGeometryView

Una rete planare quadrata. Per saperne di più...

Intestazione: #include <Qt3DExtras/QPlaneGeometryView>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
qmake: QT += 3dextras
In QML: PlaneGeometryView
Eredita da: Qt3DCore::QGeometryView
Stato: Obsoleto

Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.

Proprietà

Funzioni pubbliche

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

Slot pubblici

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

Segnali

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

Descrizione dettagliata

* * * * * * *

Documentazione delle proprietà

height : float

Mantiene l'altezza del piano.

Funzioni di accesso:

float height() const
void setHeight(float height)

Segnale di notifica:

void heightChanged(float height)

meshResolution : QSize

Determina la risoluzione del piano. I valori di larghezza e altezza di questa proprietà specificano il numero di vertici generati per la mesh nelle rispettive dimensioni.

Funzioni di accesso:

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

Segnale di notifica:

void meshResolutionChanged(const QSize &meshResolution)

mirrored : bool

Determina se le coordinate UV del piano devono essere capovolte verticalmente.

Funzioni di accesso:

bool mirrored() const
void setMirrored(bool mirrored)

Segnale di notifica:

void mirroredChanged(bool mirrored)

width : float

Contiene la larghezza del piano.

Funzioni di accesso:

float width() const
void setWidth(float width)

Segnale di notifica:

void widthChanged(float width)

Documentazione delle funzioni membro

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

Crea un nuovo oggetto `QPlaneGeometryView` 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.