QMesh Class

(Qt3DRender::QMesh)

A custom mesh. More...

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

Properties

Public Functions

QMesh(Qt3DCore::QNode *parent = Q_NULLPTR)
~QMesh()
QUrl source() const
QString subMesh() const

Public Slots

void setSource(const QUrl &source)
void setSubMesh(const QString &subMesh)

Signals

void sourceChanged(const QUrl &source)
void subMeshChanged(const QString &subMesh)

Protected Functions

QMesh(QMeshPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Additional Inherited Members

Detailed Description

A custom mesh.

Property Documentation

source : QUrl

Holds the source url to the file containing the custom mesh.

Access functions:

QUrl source() const
void setSource(const QUrl &source)

Notifier signal:

void sourceChanged(const QUrl &source)

subMesh : QString

Holds the subMesh for the mesh.

Access functions:

QString subMesh() const
void setSubMesh(const QString &subMesh)

Notifier signal:

void subMeshChanged(const QString &subMesh)

Member Function Documentation

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

Default constructs an instance of QMesh.

[protected] QMesh::QMesh(QMeshPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Copy constructor.

QMesh::~QMesh()

Destroys this mesh.

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