QGIS API Documentation
3.24.2-Tisler (13c1a02865)
|
3 More...
#include <qgspreviewquad.h>
Public Member Functions | |
QgsPreviewQuadMaterial (Qt3DRender::QAbstractTexture *texture, QVector< Qt3DRender::QParameter * > additionalShaderParameters=QVector< Qt3DRender::QParameter * >(), QNode *parent=nullptr) | |
Constructor. More... | |
void | setViewPort (QVector2D centerTexCoords, QVector2D sizeTexCoords) |
Sets the view port of the quad. More... | |
3
Material component for QgsPreviewQuad object
Definition at line 33 of file qgspreviewquad.h.
QgsPreviewQuadMaterial::QgsPreviewQuadMaterial | ( | Qt3DRender::QAbstractTexture * | texture, |
QVector< Qt3DRender::QParameter * > | additionalShaderParameters = QVector<Qt3DRender::QParameter *>() , |
||
QNode * | parent = nullptr |
||
) |
Constructor.
Definition at line 74 of file qgspreviewquad.cpp.
void QgsPreviewQuadMaterial::setViewPort | ( | QVector2D | centerTexCoords, |
QVector2D | sizeTexCoords | ||
) |
Sets the view port of the quad.
Definition at line 108 of file qgspreviewquad.cpp.