15#ifndef QGSPOINT3DBILLBOARDMATERIAL_H
16#define QGSPOINT3DBILLBOARDMATERIAL_H
19#include <Qt3DRender/QParameter>
20#include <Qt3DRender/QTexture>
21#include <Qt3DRender/QMaterial>
62 void setTexture2DFromImage( QImage image,
double size = 100 );
65 void setTexture2DFromTextureImage( Qt3DRender::QAbstractTextureImage *textureImage );
67 Qt3DRender::QParameter *mSize =
nullptr;
68 Qt3DRender::QParameter *mViewportSize =
nullptr;
69 Qt3DRender::QParameter *mTexture2D =
nullptr;
A marker symbol type, for rendering Point and MultiPoint geometries.
void useDefaultSymbol(const Qgs3DRenderContext &context, bool selected=false)
Set default symbol for the texture with context and selected parameter for rendering.
QSizeF windowSize() const
Returns the size of the view port.
~QgsPoint3DBillboardMaterial() override
void setTexture2DFromSymbol(QgsMarkerSymbol *markerSymbol, const Qgs3DRenderContext &context, bool selected=false)
Set markerSymbol for the texture with context and selected parameter for rendering.
QgsPoint3DBillboardMaterial()
QSizeF size() const
Returns the billboard size.
void setViewportSize(const QSizeF size)
Set the size of the view port.
void setSize(const QSizeF size)
Set the billboard size.