/************************************************************************ * This file has been generated automatically from * * * * src/3d/qgsdirectionallightsettings.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsDirectionalLightSettings { %Docstring(signature="appended") Definition of a directional light in a 3D map scene .. versionadded:: 3.16 %End %TypeHeaderCode #include "qgsdirectionallightsettings.h" %End public: QgsDirectionalLightSettings(); %Docstring Construct a directional light with default values %End QgsVector3D direction() const; %Docstring Returns the direction of the light in degrees %End void setDirection( const QgsVector3D &direction ); %Docstring Sets the direction of the light in degrees %End QColor color() const; %Docstring Returns color of the light %End void setColor( const QColor &color ); %Docstring Sets color of the light %End float intensity() const; %Docstring Returns intensity of the light %End void setIntensity( float intensity ); %Docstring Sets intensity of the light %End QDomElement writeXml( QDomDocument &doc ) const; %Docstring Writes configuration to a new DOM element and returns it %End void readXml( const QDomElement &elem ); %Docstring Reads configuration from a DOM element previously written using :py:func:`~QgsDirectionalLightSettings.writeXml` %End bool operator==( const QgsDirectionalLightSettings &other ); }; /************************************************************************ * This file has been generated automatically from * * * * src/3d/qgsdirectionallightsettings.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/