15#ifndef PROCEDURALMESH_H
16#define PROCEDURALMESH_H
18#include <QQuick3DGeometry>
129 void requestUpdate();
130 void updateGeometry();
131 void subsetDestroyed(
QObject *subset);
134 bool supportsTriangleFanPrimitive()
const;
141 bool m_updateRequested =
false;
void setCount(int newCount)
void setOffset(int newOffset)
void setName(const QString &newName)
ProceduralMesh()
\qmlproperty List<QVector3D> ProceduralMesh::positions The positions attribute list.
void setUv1s(const QList< QVector2D > &newUv1s)
void setWeights(const QList< QVector4D > &newWeights)
void primitiveModeChanged()
QList< QVector4D > joints
void setPositions(const QList< QVector3D > &newPositions)
QList< QVector3D > positions
QList< QVector4D > colors
void setTangents(const QList< QVector3D > &newTangents)
QList< QVector3D > binormals
QQmlListProperty< ProceduralMeshSubset > subsets()
void setNormals(const QList< QVector3D > &newNormals)
void setJoints(const QList< QVector4D > &newJoints)
PrimitiveMode primitiveMode
void setBinormals(const QList< QVector3D > &newBinormals)
void setIndexes(const QList< unsigned int > &newIndexes)
void setUv0s(const QList< QVector2D > &newUv0s)
void setPrimitiveMode(PrimitiveMode newPrimitiveMode)
QQmlListProperty< ProceduralMeshSubset > subsets
QList< QVector3D > normals
QList< QVector4D > weights
QList< unsigned int > indexes
QList< QVector3D > tangents
void setColors(const QList< QVector4D > &newColors)
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
\qmltype Geometry \inherits Object3D \inqmlmodule QtQuick3D \instantiates QQuick3DGeometry
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLsizei const GLuint const GLfloat * weights
GLenum GLenum GLsizei count
GLenum GLuint GLintptr offset
#define QML_NAMED_ELEMENT(NAME)