21 #include <QQmlListProperty>
22 #include "PolygonVertexAttributeArray.h"
76 #endif // POLYGONMESH_H
void setVertexArrays(const QList< PolygonVertexAttributeArray * > &value)
Sets attributes from a QList of PolygonVertexAttributeArrays.
const QList< PolygonVertexAttributeArray * > & getVertexArrays() const
Returns attributes as a QList of PolygonVertexAttributeArrays.
Definition: PolygonMesh.h:54
void vertexArraysChanged()
Emitted when attributes changes.
Class storing a renderable mesh, instantiable from QML.
Definition: PolygonMesh.h:34
PolygonMesh(QObject *parent=nullptr)
Constructs a PolygonMesh.
QQmlListProperty< PolygonVertexAttributeArray > attributes
QML mutable list of PolygonVertexAttributeArrays, each representing a vertex attribute array of this ...
Definition: PolygonMesh.h:42
QQmlListProperty< PolygonVertexAttributeArray > getAttributeListProperty()
Returns attributes.