QGIS/python/3d/auto_generated/qgsimagetexture.sip.in
2020-08-04 07:07:51 +01:00

49 lines
1.5 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/3d/qgsimagetexture.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsImageTexture : Qt3DRender::QPaintedTextureImage
{
%Docstring
The QgsImageTexture class
Holds an image that can be used as a texture in the 3D view
.. versionadded:: 3.16
%End
%TypeHeaderCode
#include "qgsimagetexture.h"
%End
public:
QgsImageTexture( const QImage &image, Qt3DCore::QNode *parent = 0 );
%Docstring
Constructor
%End
virtual void paint( QPainter *painter );
%Docstring
paints on the current QImage using painter
%End
QImage getImage() const;
%Docstring
Returns the image
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/3d/qgsimagetexture.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/