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.

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