QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
Public Member Functions | List of all members
QgsAmbientOcclusionRenderEntity Class Reference

3 More...

#include <qgsambientocclusionrenderentity.h>

Inheritance diagram for QgsAmbientOcclusionRenderEntity:
Inheritance graph
[legend]

Public Member Functions

 QgsAmbientOcclusionRenderEntity (Qt3DRender::QTexture2D *depthTexture, Qt3DRender::QCamera *camera, QNode *parent=nullptr)
 Constructor. More...
 
void setIntensity (float intensity)
 Sets the intensity for the ambient occlusion effect. More...
 
void setRadius (float radius)
 Sets the radius for the ambient occlusion effect. More...
 
void setThreshold (float threshold)
 Sets the amount of occlusion when the effects starts to kick in. More...
 
- Public Member Functions inherited from QgsRenderPassQuad
 QgsRenderPassQuad (QNode *parent=nullptr)
 Constructor. More...
 
Qt3DRender::QLayer * layer ()
 Returns the layer object used to select this entity for rendering in a specific rendering pass. More...
 

Additional Inherited Members

- Protected Attributes inherited from QgsRenderPassQuad
Qt3DRender::QLayer * mLayer = nullptr
 
Qt3DRender::QMaterial * mMaterial = nullptr
 
Qt3DRender::QShaderProgram * mShader = nullptr
 

Detailed Description

3

An entity that is responsible for producing an ambient occlusion factor map.

Note
Not available in Python bindings
Since
QGIS 3.28

Definition at line 31 of file qgsambientocclusionrenderentity.h.

Constructor & Destructor Documentation

◆ QgsAmbientOcclusionRenderEntity()

QgsAmbientOcclusionRenderEntity::QgsAmbientOcclusionRenderEntity ( Qt3DRender::QTexture2D *  depthTexture,
Qt3DRender::QCamera *  camera,
QNode *  parent = nullptr 
)

Constructor.

Definition at line 22 of file qgsambientocclusionrenderentity.cpp.

Member Function Documentation

◆ setIntensity()

void QgsAmbientOcclusionRenderEntity::setIntensity ( float  intensity)

Sets the intensity for the ambient occlusion effect.

Definition at line 111 of file qgsambientocclusionrenderentity.cpp.

◆ setRadius()

void QgsAmbientOcclusionRenderEntity::setRadius ( float  radius)

Sets the radius for the ambient occlusion effect.

Definition at line 116 of file qgsambientocclusionrenderentity.cpp.

◆ setThreshold()

void QgsAmbientOcclusionRenderEntity::setThreshold ( float  threshold)

Sets the amount of occlusion when the effects starts to kick in.

Definition at line 121 of file qgsambientocclusionrenderentity.cpp.


The documentation for this class was generated from the following files: