| QGIS API Documentation
    3.16.0-Hannover (43b64b13f3)
    | 
 
 
 
Go to the documentation of this file.
   15 #ifndef QGSPOINT3DBILLBOARDMATERIAL_H 
   16 #define QGSPOINT3DBILLBOARDMATERIAL_H 
   19 #include <Qt3DRender/QParameter> 
   20 #include <Qt3DRender/QTexture> 
   21 #include <Qt3DRender/QMaterial> 
   61     void setTexture2DFromImage( QImage image, 
double size = 100 );
 
   64     void setTexture2DFromTextureImage( Qt3DRender::QAbstractTextureImage *textureImage );
 
   66     Qt3DRender::QParameter *mSize = 
nullptr;
 
   67     Qt3DRender::QParameter *mViewportSize = 
nullptr;
 
   68     Qt3DRender::QParameter *mTexture2D = 
nullptr;
 
   72 #endif // QGSPOINT3DBILLBOARDMATERIAL_H 
  
3 Material of the billboard rendering for points in 3D map view.
void setViewportSize(const QSizeF size)
Set the size of the view port.
void setTexture2DFromSymbol(QgsMarkerSymbol *markerSymbol, const Qgs3DMapSettings &map, bool selected=false)
Set markerSymbol for the texture with map and selected parameter for rendering.
QgsPoint3DBillboardMaterial()
A marker symbol type, for rendering Point and MultiPoint geometries.
3 Definition of the world
void setSize(const QSizeF size)
Set the billboard size.
void useDefaultSymbol(const Qgs3DMapSettings &map, bool selected=false)
Set default symbol for the texture with map and selected parameter for rendering.
QSizeF windowSize() const
Returns the size of the view port.
QSizeF size() const
Returns the billboard size.