IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QMesh Class

A custom mesh loader.

This class was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

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

Member Function Documentation▲

 

[explicit] QMesh::QMesh(Qt3DCore::QNode *parent = nullptr)▲

Constructs a new https:// with parent.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.