Skip to content

Kuesa::Qt3D::MaterialCollection

Module: Kuesa Qt 3D API

A collection of assets of type GLTF2MaterialProperties. More...

#include <Kuesa/Qt3D/api/collections/materialcollection.h>

Inherits from Kuesa::Qt3D::AbstractAssetCollection, Qt3DCore::QNode

Public Functions

Name
MaterialCollection(Qt3DCore::QNode * parent =nullptr)
~MaterialCollection()

Additional inherited members

Public Signals inherited from Kuesa::Qt3D::AbstractAssetCollection

Name
void namesChanged()
void sizeChanged()
void assetAdded(const QString & name)

Public Functions inherited from Kuesa::Qt3D::AbstractAssetCollection

Name
~AbstractAssetCollection()
QStringList names()
int size()
bool contains(const QString & name) const
bool contains(Qt3DCore::QNode * asset) const
Qt3DCore::QNode * findAsset(const QString & name)
void remove(const QString & name)
void clear()

Protected Functions inherited from Kuesa::Qt3D::AbstractAssetCollection

Name
AbstractAssetCollection(Qt3DCore::QNode * parent =nullptr)
void addAsset(const QString & name, Qt3DCore::QNode * asset)

Public Properties inherited from Kuesa::Qt3D::AbstractAssetCollection

Name
QStringList names
int size

Detailed Description

1
class Kuesa::Qt3D::MaterialCollection;

A collection of assets of type GLTF2MaterialProperties.

Since: Kuesa 2.0

Kuesa::Qt3D::MaterialCollection manages a set of GLTF2MaterialProperties assets.

Public Functions Documentation

function MaterialCollection

1
2
3
explicit MaterialCollection(
    Qt3DCore::QNode * parent =nullptr
)

function ~MaterialCollection

1
~MaterialCollection()

Updated on 2023-07-03 at 11:02:12 +0000