QMesh Class▲
-
Header: Qt3DRender/QMesh
-
Since: Qt 5.7
-
qmake: QT += 3drender
-
Inherited By:
-
Instantiated By: qml-qt3d-render-mesh.xml
-
Inherits: https://
Detailed Description▲
Loads mesh data from external files in a variety of formats. https:// loads data into a single mesh.
In Qt3D 5.9, https:// supports the following formats:
-
Wavefront OBJ
-
Stanford Triangle Format PLY
-
STL (STereoLithography)
https:// will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found:
-
Autodesk FBX
If you wish to load an entire scene made of several objects, you should rather use the https:// instead.
See Also▲
See also https://
Property Documentation▲
meshName : QString▲
Holds the name of the mesh.
Access functions:
-
meshName() const
-
void setMeshName(const &meshName)
Notifier signal:
-
void meshNameChanged(const &meshName)
source : QUrl▲
Holds the source url to the file containing the custom mesh.
Access functions:
-
source() const
-
void setSource(const &source)
Notifier signal:
-
void sourceChanged(const &source)
[read-only] status : const Status▲
Holds the status of the mesh loading.
Access functions:
-
Qt3DRender::QMesh::Status status() const
Notifier signal:
-
void statusChanged(Qt3DRender::QMesh::Status status)
See Also▲
See also Qt3DRender::QMesh::Status


