16#ifndef QGSLINEMATERIAL_P_H
17#define QGSLINEMATERIAL_P_H
30#include <Qt3DRender/QMaterial>
31#include <Qt3DRender/QCamera>
54class QgsLineMaterial :
public Qt3DRender::QMaterial
60 void setLineColor(
const QColor &color );
61 QColor lineColor()
const;
63 void setUseVertexColors(
bool enabled );
64 bool useVertexColors()
const;
66 void setLineWidth(
float width );
67 float lineWidth()
const;
69 Q_INVOKABLE
void setViewportSize(
const QSizeF &viewportSize );
72 Qt3DRender::QParameter *mParameterThickness =
nullptr;
73 Qt3DRender::QParameter *mParameterMiterLimit =
nullptr;
74 Qt3DRender::QParameter *mParameterLineColor =
nullptr;
75 Qt3DRender::QParameter *mParameterUseVertexColors =
nullptr;
77 Qt3DRender::QParameter *mParameterWindowScale =
nullptr;