|
QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
3 More...
#include <qgspostprocessingentity.h>

Public Member Functions | |
| QgsPostprocessingEntity (QgsShadowRenderingFrameGraph *frameGraph, QNode *parent=nullptr) | |
| Constructor. More... | |
| void | setEyeDomeLightingDistance (int distance) |
| Sets the eye dome lighting distance (contributes to the contrast of the image) More... | |
| void | setEyeDomeLightingEnabled (bool enabled) |
| Sets whether eye dome lighting is enabled. More... | |
| void | setEyeDomeLightingStrength (double strength) |
| Sets the eye dome lighting strength. More... | |
| void | setShadowBias (float shadowBias) |
| Sets the shadow bias value. More... | |
| void | setShadowRenderingEnabled (bool enabled) |
| Sets whether shadow rendering is enabled. More... | |
| void | setupDirectionalLight (QVector3D position, QVector3D direction) |
| Sets up a directional light that is used to render shadows. More... | |
| void | setupShadowRenderingExtent (float minX, float maxX, float minZ, float maxZ) |
| Sets the parts of the scene where objects cast shadows. More... | |
3
An entity that is responsible for applying post processing effect.
Now it is used to make shadows.
Definition at line 39 of file qgspostprocessingentity.h.
| QgsPostprocessingEntity::QgsPostprocessingEntity | ( | QgsShadowRenderingFrameGraph * | frameGraph, |
| QNode * | parent = nullptr |
||
| ) |
Constructor.
Definition at line 30 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingDistance | ( | int | distance | ) |
Sets the eye dome lighting distance (contributes to the contrast of the image)
Definition at line 204 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingEnabled | ( | bool | enabled | ) |
Sets whether eye dome lighting is enabled.
Definition at line 194 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setEyeDomeLightingStrength | ( | double | strength | ) |
Sets the eye dome lighting strength.
Definition at line 199 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowBias | ( | float | shadowBias | ) |
Sets the shadow bias value.
Definition at line 189 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setShadowRenderingEnabled | ( | bool | enabled | ) |
Sets whether shadow rendering is enabled.
Definition at line 184 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setupDirectionalLight | ( | QVector3D | position, |
| QVector3D | direction | ||
| ) |
Sets up a directional light that is used to render shadows.
Definition at line 178 of file qgspostprocessingentity.cpp.
| void QgsPostprocessingEntity::setupShadowRenderingExtent | ( | float | minX, |
| float | maxX, | ||
| float | minZ, | ||
| float | maxZ | ||
| ) |
Sets the parts of the scene where objects cast shadows.
Definition at line 170 of file qgspostprocessingentity.cpp.