- Qt 6.10
- Qt 3D
- QML Types
- Qt3D.Render (Deprecated)
- Mesh
- Qt 6.10.3 Reference Documentation

# Mesh QML Type

A custom mesh loader. More...

Import Statement: | `import Qt3D.Render 2.10`
In C++: | QMesh
Status: | Deprecated

- List of all members, including inherited members

## Properties

- meshName : string
- source : url
- status : enumeration

## Detailed Description

Loads mesh data from external files in a variety of formats.

In Qt3D 5.9, Mesh 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

## Property Documentation

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.

Note: Only Wavefront OBJ files support sub-meshes.

See also QRegularExpression.

source : url

Holds the source url to the file containing the custom mesh.

status : enumeration `[read-only]`

Holds the status of the mesh loading.

See also Qt3DRender::QMesh::Status.