QMesh¶
- PyQt5.Qt3DRender.QMesh
Inherits from QGeometryRenderer.
Description¶
A custom mesh loader.
Loads mesh data from external files in a variety of formats. QMesh loads data into a single mesh.
In Qt3D 5.9, QMesh supports the following formats:
Wavefront OBJ
Stanford Triangle Format PLY
STL (STereoLithography)
QMesh 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 QSceneLoader instead.
See also
Enums¶
- Status
This enum identifies the status of shader used.
Member
Value
Description
Error 3
An error occurred while loading the mesh
Loading 1
The mesh geometry is loading
None 0
A source mesh hasn’t been assigned a source yet
Ready 2
The mesh geometry was successfully loaded
Methods¶
- meshName() → str
See also
- sceneChangeEvent(QSceneChange)
TODO
- setMeshName(str)
See also
- source() → QUrl
See also
- status() → Status
TODO