A custom mesh loader. 更多...
导入语句: | import Qt3D.Render 2.2 |
实例化: | QMesh |
Loads mesh data from external files in a variety of formats.
In Qt3D 5.9, Mesh supports the following formats:
QMesh will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found.
meshName : string |
Filter indicating which part of the mesh should be loaded.
If meshName is empty (the default), then the entire mesh is loaded.
If meshName is a plain string, then only the sub-mesh matching that name, if present, will be loaded.
If meshName is a regular expression, than all sub-meshes matching the expression will be loaded.
注意: Only Wavefront OBJ files support sub-meshes.
另请参阅 QRegularExpression .
source : url |
Holds the source url to the file containing the custom mesh.
[read-only] status : enumeration |
Holds the status of the mesh loading.
另请参阅 Qt3DRender::QMesh::Status .