mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
49 lines
1.5 KiB
Plaintext
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 *
|
|
************************************************************************/
|