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 = nullptr)
QString meshName() const
QUrl source() const

Public Slots

void setMeshName(const QString &meshName)
void setSource(const QUrl &source)

Signals

void meshNameChanged(const QString &meshName)
void sourceChanged(const QUrl &source)

Protected Functions

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

Additional Inherited Members

  • 11 static public members inherited from QObject

Detailed Description

A custom mesh.

Property Documentation

meshName : QString

Holds the name of the mesh.

Access functions:

QString meshName() const
void setMeshName(const QString &meshName)

Notifier signal:

void meshNameChanged(const QString &meshName)

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)

Member Function Documentation

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

Default constructs an instance of QMesh.

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

Copy constructor.

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