Nesta página

Qt3DExtras::QPlaneGeometryView Class

class Qt3DExtras::QPlaneGeometryView

Uma malha plana quadrada. Mais...

Cabeçalho: #include <Qt3DExtras/QPlaneGeometryView>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
qmake: QT += 3dextras
No QML: PlaneGeometryView
Herdado de: Qt3DCore::QGeometryView
Status: Obsoleta

Esta classe está obsoleta. Recomendamos enfaticamente que não seja utilizada em código novo.

Propriedades

Funções públicas

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

Slots públicos

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

Sinais

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

Descrição detalhada

* * * * * * *

Documentação das propriedades

height : float

Mantém a altura do plano.

Funções de acesso:

float height() const
void setHeight(float height)

Sinal de notificação:

void heightChanged(float height)

meshResolution : QSize

Define a resolução do plano. Os valores de largura e altura desta propriedade especificam o número de vértices gerados para a malha nas respectivas dimensões.

Funções de acesso:

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

Sinal de notificação:

void meshResolutionChanged(const QSize &meshResolution)

mirrored : bool

Determina se as coordenadas UV do plano devem ser invertidas verticalmente.

Funções de acesso:

bool mirrored() const
void setMirrored(bool mirrored)

Sinal de notificação:

void mirroredChanged(bool mirrored)

width : float

Armazena a largura do plano.

Funções de acesso:

float width() const
void setWidth(float width)

Sinal de notificação:

void widthChanged(float width)

Documentação das funções de membro

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

Cria um novo objeto `QPlaneGeometryView` com ` 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.