QMesh Class
(Qt3DRender::QMesh)A custom mesh. More...
| Header: | #include <QMesh> |
| qmake: | QT += 3drender |
| Instantiated By: | Mesh |
| Inherits: | Qt3DRender::QGeometryRenderer |
Properties
- 8 properties inherited from Qt3DRender::QGeometryRenderer
- 1 property inherited from Qt3DCore::QComponent
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
| QMesh(Qt3DCore::QNode *parent = Q_NULLPTR) | |
| ~QMesh() | |
| QUrl | source() const |
| QString | subMesh() const |
- 10 public functions inherited from Qt3DRender::QGeometryRenderer
- 2 public functions inherited from Qt3DCore::QComponent
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
| void | setSource(const QUrl &source) |
| void | setSubMesh(const QString &subMesh) |
- 8 public slots inherited from Qt3DRender::QGeometryRenderer
- 1 public slot inherited from Qt3DCore::QComponent
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
| void | sourceChanged(const QUrl &source) |
| void | subMeshChanged(const QString &subMesh) |
- 8 signals inherited from Qt3DRender::QGeometryRenderer
- 2 signals inherited from Qt3DCore::QComponent
- 2 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Protected Functions
| QMesh(QMeshPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR) |
- 1 protected function inherited from Qt3DRender::QGeometryRenderer
- 1 protected function inherited from Qt3DCore::QComponent
- 3 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Additional Inherited Members
- 11 static public members 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.
© 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