QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
3 More...
#include <qgspreviewquad.h>
Public Member Functions | |
QgsPreviewQuadMaterial (Qt3DRender::QAbstractTexture *texture, const QMatrix4x4 &modelMatrix, QVector< Qt3DRender::QParameter * > additionalShaderParameters=QVector< Qt3DRender::QParameter * >(), QNode *parent=nullptr) | |
Constructor. More... | |
void | setModelMatrix (const QMatrix4x4 &modelMatrix) |
Sets the model matrix of the quad. More... | |
3
Material component for QgsPreviewQuad object
Definition at line 33 of file qgspreviewquad.h.
QgsPreviewQuadMaterial::QgsPreviewQuadMaterial | ( | Qt3DRender::QAbstractTexture * | texture, |
const QMatrix4x4 & | modelMatrix, | ||
QVector< Qt3DRender::QParameter * > | additionalShaderParameters = QVector<Qt3DRender::QParameter *>() , |
||
QNode * | parent = nullptr |
||
) |
Constructor.
Definition at line 79 of file qgspreviewquad.cpp.
void QgsPreviewQuadMaterial::setModelMatrix | ( | const QMatrix4x4 & | modelMatrix | ) |
Sets the model matrix of the quad.
Definition at line 111 of file qgspreviewquad.cpp.