|
QGIS API Documentation 4.1.0-Master (01362494303)
|
A background entity that renders a two-color gradient behind all 3D scene geometry. More...
#include <qgsgradientbackgroundentity.h>

Public Member Functions | |
| QgsGradientBackgroundEntity (const QColor &topColor, const QColor &bottomColor, Qt3DCore::QNode *parent=nullptr) | |
| Constructs a gradient background entity. | |
A background entity that renders a two-color gradient behind all 3D scene geometry.
The gradient is always oriented top-to-bottom on the screen, independent of camera orientation.
Definition at line 46 of file qgsgradientbackgroundentity.h.
| QgsGradientBackgroundEntity::QgsGradientBackgroundEntity | ( | const QColor & | topColor, |
| const QColor & | bottomColor, | ||
| Qt3DCore::QNode * | parent = nullptr ) |
Constructs a gradient background entity.
| topColor | Color at the top of the gradient. |
| bottomColor | Color at the bottom of the gradient. |
| parent | Parent node. |
Definition at line 43 of file qgsgradientbackgroundentity.cpp.