In questa pagina

Mesh QML Type

Un caricatore di mesh personalizzato. Maggiori informazioni...

Import Statement: import Qt3D.Render 2.12
In C++: QMesh
Status: Deprecated

Questo tipo è deprecato. Ne sconsigliamo vivamente l'uso nel codice nuovo.

Proprietà

Descrizione dettagliata

Carica dati mesh da file esterni in una varietà di formati.

In Qt3D 5.9, Mesh supporta i seguenti formati:

  • Wavefront OBJ
  • Formato triangolare di Stanford PLY
  • STL (STereoLithography)

QMesh supporterà anche il seguente formato se l'SDK è installato e il plugin fbx geometry loader è stato compilato e individuato.

  • Autodesk FBX

Documentazione sulle proprietà

meshName : string

Filtro che indica quale parte della mesh deve essere caricata.

Se meshName è vuoto (impostazione predefinita), viene caricata l'intera mesh.

Se meshName è una stringa semplice, verrà caricata solo la sottomesh corrispondente a quel nome, se presente.

Se meshName è un'espressione regolare, verranno caricate tutte le sottomesh che corrispondono all'espressione.

Nota: solo i file Wavefront OBJ supportano le sottomesh.

Vedi anche QRegularExpression.

source : url

Contiene l'URL di origine del file contenente la mesh personalizzata.

status : enumeration [read-only]

Contiene lo stato del caricamento della mesh.

Vedi anche Qt3DRender::QMesh::Status.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.