QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
3 More...
#include <qgsambientocclusionrenderentity.h>
Public Member Functions | |
QgsAmbientOcclusionRenderEntity (Qt3DRender::QTexture2D *depthTexture, Qt3DRender::QLayer *layer, Qt3DRender::QCamera *camera, QNode *parent=nullptr) | |
Constructor. | |
void | setIntensity (float intensity) |
Sets the intensity for the ambient occlusion effect. | |
void | setRadius (float radius) |
Sets the radius for the ambient occlusion effect. | |
void | setThreshold (float threshold) |
Sets the amount of occlusion when the effects starts to kick in. | |
Public Member Functions inherited from QgsRenderPassQuad | |
QgsRenderPassQuad (Qt3DRender::QLayer *layer, QNode *parent=nullptr) | |
Constructor. | |
Additional Inherited Members | |
Protected Attributes inherited from QgsRenderPassQuad | |
Qt3DRender::QMaterial * | mMaterial = nullptr |
Qt3DRender::QShaderProgram * | mShader = nullptr |
3
An entity that is responsible for producing an ambient occlusion factor map.
Definition at line 31 of file qgsambientocclusionrenderentity.h.
QgsAmbientOcclusionRenderEntity::QgsAmbientOcclusionRenderEntity | ( | Qt3DRender::QTexture2D * | depthTexture, |
Qt3DRender::QLayer * | layer, | ||
Qt3DRender::QCamera * | camera, | ||
QNode * | parent = nullptr |
||
) |
Constructor.
Definition at line 23 of file qgsambientocclusionrenderentity.cpp.
void QgsAmbientOcclusionRenderEntity::setIntensity | ( | float | intensity | ) |
Sets the intensity for the ambient occlusion effect.
Definition at line 112 of file qgsambientocclusionrenderentity.cpp.
void QgsAmbientOcclusionRenderEntity::setRadius | ( | float | radius | ) |
Sets the radius for the ambient occlusion effect.
Definition at line 117 of file qgsambientocclusionrenderentity.cpp.
void QgsAmbientOcclusionRenderEntity::setThreshold | ( | float | threshold | ) |
Sets the amount of occlusion when the effects starts to kick in.
Definition at line 122 of file qgsambientocclusionrenderentity.cpp.