QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | List of all members
QgsPostprocessingEntity Class Reference

3 An entity that is responsible for applying post processing effect Now it is used to make shadows More...

#include <qgspostprocessingentity.h>

Inheritance diagram for QgsPostprocessingEntity:
Inheritance graph
[legend]

Public Member Functions

 QgsPostprocessingEntity (QgsShadowRenderingFrameGraph *frameGraph, QNode *parent=nullptr)
 Constructor. 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...
 

Detailed Description

3 An entity that is responsible for applying post processing effect Now it is used to make shadows

Note
Not available in Python bindings
Since
QGIS 3.16

Definition at line 38 of file qgspostprocessingentity.h.

Constructor & Destructor Documentation

◆ QgsPostprocessingEntity()

QgsPostprocessingEntity::QgsPostprocessingEntity ( QgsShadowRenderingFrameGraph frameGraph,
QNode *  parent = nullptr 
)

Constructor.

Definition at line 29 of file qgspostprocessingentity.cpp.

Member Function Documentation

◆ setShadowBias()

void QgsPostprocessingEntity::setShadowBias ( float  shadowBias)

Sets the shadow bias value.

Definition at line 179 of file qgspostprocessingentity.cpp.

◆ setShadowRenderingEnabled()

void QgsPostprocessingEntity::setShadowRenderingEnabled ( bool  enabled)

Sets whether shadow rendering is enabled.

Definition at line 174 of file qgspostprocessingentity.cpp.

◆ setupDirectionalLight()

void QgsPostprocessingEntity::setupDirectionalLight ( QVector3D  position,
QVector3D  direction 
)

Sets up a directional light that is used to render shadows.

Definition at line 168 of file qgspostprocessingentity.cpp.

◆ setupShadowRenderingExtent()

void QgsPostprocessingEntity::setupShadowRenderingExtent ( float  minX,
float  maxX,
float  minZ,
float  maxZ 
)

Sets the parts of the scene where objects cast shadows.

Definition at line 160 of file qgspostprocessingentity.cpp.


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