16 #ifndef QGSDIRECTIONALLIGHTSETTINGS_H
17 #define QGSDIRECTIONALLIGHTSETTINGS_H
44 QColor
color()
const {
return mColor; }
46 void setColor(
const QColor &color ) { mColor = color; }
54 QDomElement writeXml( QDomDocument &doc )
const;
56 void readXml(
const QDomElement &elem );
63 QColor mColor = Qt::white;
64 float mIntensity = 1.0;
void setColor(const QColor &color)
Sets color of the light.
float intensity() const
Returns intensity of the light.
QColor color() const
Returns color of the light.
void setDirection(const QgsVector3D &direction)
Sets the direction of the light in degrees.
QgsDirectionalLightSettings()=default
Construct a directional light with default values.
void setIntensity(float intensity)
Sets intensity of the light.
QgsVector3D direction() const
Returns the direction of the light in degrees.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)