QGIS API Documentation 4.1.0-Master (ca2ac17535b)
Loading...
Searching...
No Matches
QgsSkyboxEntity Class Referenceabstract

Base class for all skybox types. More...

#include <qgsskyboxentity.h>

Inheritance diagram for QgsSkyboxEntity:

Public Member Functions

 QgsSkyboxEntity (QNode *parent=nullptr)
 Constructor.
virtual Qgis::Map3DBackgroundType type () const =0
 Returns the background type of skybox entity.
virtual void updateEnvironmentLight (QgsEnvironmentLight *light) const =0
 Updates the specified environment light to match the skybox settings.

Protected Attributes

Qt3DRender::QEffect * mEffect = nullptr
Qt3DRender::QFilterKey * mFilterKey = nullptr
Qt3DRender::QParameter * mGammaStrengthParameter = nullptr
Qt3DRender::QRenderPass * mGl3RenderPass = nullptr
Qt3DRender::QTechnique * mGl3Technique = nullptr
Qt3DRender::QMaterial * mMaterial = nullptr
Qt3DExtras::QCuboidMesh * mMesh = nullptr
Qt3DRender::QParameter * mTextureParameter = nullptr

Detailed Description

Base class for all skybox types.

It holds the common member data between different skybox entity types

Since
QGIS 3.16

Definition at line 61 of file qgsskyboxentity.h.

Constructor & Destructor Documentation

◆ QgsSkyboxEntity()

QgsSkyboxEntity::QgsSkyboxEntity ( QNode * parent = nullptr)

Constructor.

Definition at line 46 of file qgsskyboxentity.cpp.

Member Function Documentation

◆ type()

virtual Qgis::Map3DBackgroundType QgsSkyboxEntity::type ( ) const
pure virtual

Returns the background type of skybox entity.

Implemented in QgsCubeFacesSkyboxEntity.

◆ updateEnvironmentLight()

virtual void QgsSkyboxEntity::updateEnvironmentLight ( QgsEnvironmentLight * light) const
pure virtual

Updates the specified environment light to match the skybox settings.

Since
QGIS 4.2

Implemented in QgsCubeFacesSkyboxEntity.

Member Data Documentation

◆ mEffect

Qt3DRender::QEffect* QgsSkyboxEntity::mEffect = nullptr
protected

Definition at line 80 of file qgsskyboxentity.h.

◆ mFilterKey

Qt3DRender::QFilterKey* QgsSkyboxEntity::mFilterKey = nullptr
protected

Definition at line 83 of file qgsskyboxentity.h.

◆ mGammaStrengthParameter

Qt3DRender::QParameter* QgsSkyboxEntity::mGammaStrengthParameter = nullptr
protected

Definition at line 86 of file qgsskyboxentity.h.

◆ mGl3RenderPass

Qt3DRender::QRenderPass* QgsSkyboxEntity::mGl3RenderPass = nullptr
protected

Definition at line 84 of file qgsskyboxentity.h.

◆ mGl3Technique

Qt3DRender::QTechnique* QgsSkyboxEntity::mGl3Technique = nullptr
protected

Definition at line 82 of file qgsskyboxentity.h.

◆ mMaterial

Qt3DRender::QMaterial* QgsSkyboxEntity::mMaterial = nullptr
protected

Definition at line 81 of file qgsskyboxentity.h.

◆ mMesh

Qt3DExtras::QCuboidMesh* QgsSkyboxEntity::mMesh = nullptr
protected

Definition at line 85 of file qgsskyboxentity.h.

◆ mTextureParameter

Qt3DRender::QParameter* QgsSkyboxEntity::mTextureParameter = nullptr
protected

Definition at line 87 of file qgsskyboxentity.h.


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