16#ifndef QGSDIRECTIONALLIGHTSETTINGS_H
17#define QGSDIRECTIONALLIGHTSETTINGS_H
51 QColor
color()
const {
return mColor; }
53 void setColor(
const QColor &color ) { mColor = color; }
65 QColor mColor = Qt::white;
66 float mIntensity = 1.0;
LightSourceType
Light source types for 3D scenes.
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.
virtual Qgis::LightSourceType type() const =0
Returns the light source type.
virtual QgsLightSource * clone() const =0
Returns a copy of the light source.
The class is used as a container of context for various read/write operations on other objects.
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)