QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
Holds an image that can be used as a texture in the 3D view. More...
#include <qgsimagetexture.h>
Public Member Functions | |
QgsImageTexture (const QImage &image, Qt3DCore::QNode *parent=nullptr) | |
Constructor. | |
QImage | getImage () const |
Returns the image. | |
void | paint (QPainter *painter) override |
paints on the current QImage using painter | |
Holds an image that can be used as a texture in the 3D view.
3
Definition at line 36 of file qgsimagetexture.h.
QgsImageTexture::QgsImageTexture | ( | const QImage & | image, |
Qt3DCore::QNode * | parent = nullptr |
||
) |
Constructor.
Definition at line 20 of file qgsimagetexture.cpp.
|
inline |
Returns the image.
Definition at line 51 of file qgsimagetexture.h.
|
inlineoverride |
paints on the current QImage using painter
Definition at line 45 of file qgsimagetexture.h.