QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
class containing the configuration of ambient occlusion rendering 3 More...
#include <qgsambientocclusionsettings.h>
Public Member Functions | |
QgsAmbientOcclusionSettings ()=default | |
Default constructor. More... | |
QgsAmbientOcclusionSettings (const QgsAmbientOcclusionSettings &other) | |
Copy constructor. More... | |
float | intensity () const |
Returns the shading factor of the ambient occlusion effect. More... | |
bool | isEnabled () const |
Returns whether ambient occlusion effect is enabled. More... | |
QgsAmbientOcclusionSettings & | operator= (QgsAmbientOcclusionSettings const &rhs) |
delete assignment operator More... | |
float | radius () const |
Returns the radius parameter of the ambient occlusion effect. More... | |
void | readXml (const QDomElement &element, const QgsReadWriteContext &context) |
Reads settings from a DOM element. More... | |
void | setEnabled (bool enabled) |
Sets whether ambient occlusion effect is enabled. More... | |
void | setIntensity (float factor) |
Sets the shading factor of the ambient occlusion effect. More... | |
void | setRadius (float radius) |
Sets the radius parameter of the ambient occlusion effect. More... | |
void | setThreshold (float threshold) |
Sets at what amount of occlusion the effect will kick in. More... | |
float | threshold () const |
Returns at what amount of occlusion the effect will kick in. More... | |
void | writeXml (QDomElement &element, const QgsReadWriteContext &context) const |
Writes settings to a DOM element. More... | |
class containing the configuration of ambient occlusion rendering 3
Definition at line 35 of file qgsambientocclusionsettings.h.
|
default |
Default constructor.
QgsAmbientOcclusionSettings::QgsAmbientOcclusionSettings | ( | const QgsAmbientOcclusionSettings & | other | ) |
Copy constructor.
Definition at line 23 of file qgsambientocclusionsettings.cpp.
|
inline |
Returns the shading factor of the ambient occlusion effect.
Definition at line 60 of file qgsambientocclusionsettings.h.
|
inline |
Returns whether ambient occlusion effect is enabled.
Definition at line 54 of file qgsambientocclusionsettings.h.
QgsAmbientOcclusionSettings & QgsAmbientOcclusionSettings::operator= | ( | QgsAmbientOcclusionSettings const & | rhs | ) |
delete assignment operator
Definition at line 32 of file qgsambientocclusionsettings.cpp.
|
inline |
Returns the radius parameter of the ambient occlusion effect.
Definition at line 66 of file qgsambientocclusionsettings.h.
void QgsAmbientOcclusionSettings::readXml | ( | const QDomElement & | element, |
const QgsReadWriteContext & | context | ||
) |
Reads settings from a DOM element.
Definition at line 41 of file qgsambientocclusionsettings.cpp.
|
inline |
Sets whether ambient occlusion effect is enabled.
Definition at line 51 of file qgsambientocclusionsettings.h.
|
inline |
Sets the shading factor of the ambient occlusion effect.
Definition at line 57 of file qgsambientocclusionsettings.h.
|
inline |
Sets the radius parameter of the ambient occlusion effect.
Definition at line 63 of file qgsambientocclusionsettings.h.
|
inline |
Sets at what amount of occlusion the effect will kick in.
Definition at line 69 of file qgsambientocclusionsettings.h.
|
inline |
Returns at what amount of occlusion the effect will kick in.
Definition at line 72 of file qgsambientocclusionsettings.h.
void QgsAmbientOcclusionSettings::writeXml | ( | QDomElement & | element, |
const QgsReadWriteContext & | context | ||
) | const |
Writes settings to a DOM element.
Definition at line 51 of file qgsambientocclusionsettings.cpp.