QGIS API Documentation 4.1.0-Master (01362494303)
Loading...
Searching...
No Matches
QgsGradientBackgroundEntity Class Reference

A background entity that renders a two-color gradient behind all 3D scene geometry. More...

#include <qgsgradientbackgroundentity.h>

Inheritance diagram for QgsGradientBackgroundEntity:

Public Member Functions

 QgsGradientBackgroundEntity (const QColor &topColor, const QColor &bottomColor, Qt3DCore::QNode *parent=nullptr)
 Constructs a gradient background entity.

Detailed Description

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.

Since
QGIS 4.2

Definition at line 46 of file qgsgradientbackgroundentity.h.

Constructor & Destructor Documentation

◆ QgsGradientBackgroundEntity()

QgsGradientBackgroundEntity::QgsGradientBackgroundEntity ( const QColor & topColor,
const QColor & bottomColor,
Qt3DCore::QNode * parent = nullptr )

Constructs a gradient background entity.

Parameters
topColorColor at the top of the gradient.
bottomColorColor at the bottom of the gradient.
parentParent node.

Definition at line 43 of file qgsgradientbackgroundentity.cpp.


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