QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsPreviewQuadMaterial Class Reference

3 More...

#include <qgspreviewquad.h>

Inheritance diagram for QgsPreviewQuadMaterial:
Inheritance graph

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...

Detailed Description


Material component for QgsPreviewQuad object

Not available in Python bindings
QGIS 3.16

Definition at line 33 of file qgspreviewquad.h.

Constructor & Destructor Documentation

◆ QgsPreviewQuadMaterial()

QgsPreviewQuadMaterial::QgsPreviewQuadMaterial ( Qt3DRender::QAbstractTexture *  texture,
QVector< Qt3DRender::QParameter * >  additionalShaderParameters = QVector<Qt3DRender::QParameter *>(),
QNode *  parent = nullptr 


Definition at line 86 of file qgspreviewquad.cpp.

Member Function Documentation

◆ setViewPort()

void QgsPreviewQuadMaterial::setViewPort ( QVector2D  centerTexCoords,
QVector2D  sizeTexCoords 

Sets the view port of the quad.

Definition at line 120 of file qgspreviewquad.cpp.

The documentation for this class was generated from the following files: