QPlaneMesh Class

(Qt3DRender::QPlaneMesh)

A square planar mesh. More...

Header: #include <QPlaneMesh>
qmake: QT += 3drender
Instantiated By: PlaneMesh
Inherits: Qt3DRender::QGeometryRenderer

Properties

Public Functions

QPlaneMesh(Qt3DCore::QNode *parent = Q_NULLPTR)
~QPlaneMesh()
float height() const
QSize meshResolution() const
float width() const

Public Slots

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

Signals

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

Additional Inherited Members

Detailed Description

A square planar mesh.

Property Documentation

height : float

Holds the plane height.

Access functions:

float height() const
void setHeight(float height)

Notifier signal:

void heightChanged(float height)

meshResolution : QSize

Holds the plane resolution.

Access functions:

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

Notifier signal:

void meshResolutionChanged(const QSize &meshResolution)

width : float

Holds the plane width.

Access functions:

float width() const
void setWidth(float width)

Notifier signal:

void widthChanged(float width)

Member Function Documentation

QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = Q_NULLPTR)

Default constructs an instance of QPlaneMesh.

QPlaneMesh::~QPlaneMesh()

Destroys this plane mesh.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.6/qt3drender-qplanemesh.html