QMesh Class

(Qt3DRender::QMesh)

A custom mesh. More...

Header: #include <QMesh>
qmake: QT += 3drender
Instantiated By: Mesh
Inherits: 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

  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject
  • 1 static protected member inherited from Qt3DCore::QNode

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.