Kuesa Runtime

MeshCollection Class

class Kuesa::MeshCollection

A collection of assets of type QGeometryRenderer. More...

Header: #include <Kuesa/MeshCollection>
Since: Kuesa 1.0
Inherits: Kuesa::AbstractAssetCollection

This class was introduced in Kuesa 1.0.

Public Functions

Qt3DRender::QMesh *add(const QString &name, const QUrl &source)

Detailed Description

Kuesa::MeshCollection manages a set of QGeometryRenderer assets.

Member Function Documentation

Qt3DRender::QMesh *MeshCollection::add(const QString &name, const QUrl &source)

Utility method to create an instance of Qt3DRender::QMesh for the source and register it in the collection with the name.

The generated instance is parented with the collection and returned to the caller.