|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
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.
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.