QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
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. More... | |
QImage | getImage () const |
Returns the image. More... | |
void | paint (QPainter *painter) override |
paints on the current QImage using painter More... | |
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 19 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.