QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Types | Public Member Functions | Protected Attributes | List of all members
QgsSkyboxEntity Class Referenceabstract

Base class for all skybox types. More...

#include <qgsskyboxentity.h>

Inheritance diagram for QgsSkyboxEntity:
Inheritance graph
[legend]

Public Types

enum  SkyboxType { PanoramicSkybox , DistinctTexturesSkybox }
 Skybox type enumeration. More...
 

Public Member Functions

 QgsSkyboxEntity (QNode *parent=nullptr)
 Constructor. More...
 
virtual SkyboxType type () const =0
 Returns the type of the current skybox. More...
 

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 3

Since
QGIS 3.16

Definition at line 44 of file qgsskyboxentity.h.

Member Enumeration Documentation

◆ SkyboxType

Skybox type enumeration.

Enumerator
PanoramicSkybox 
DistinctTexturesSkybox 

Definition at line 49 of file qgsskyboxentity.h.

Constructor & Destructor Documentation

◆ QgsSkyboxEntity()

QgsSkyboxEntity::QgsSkyboxEntity ( QNode *  parent = nullptr)

Constructor.

Definition at line 38 of file qgsskyboxentity.cpp.

Member Function Documentation

◆ type()

virtual SkyboxType QgsSkyboxEntity::type ( ) const
pure virtual

Returns the type of the current skybox.

Implemented in QgsCubeFacesSkyboxEntity, and QgsPanoramicSkyboxEntity.

Member Data Documentation

◆ mEffect

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

Definition at line 62 of file qgsskyboxentity.h.

◆ mFilterKey

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

Definition at line 65 of file qgsskyboxentity.h.

◆ mGammaStrengthParameter

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

Definition at line 68 of file qgsskyboxentity.h.

◆ mGl3RenderPass

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

Definition at line 66 of file qgsskyboxentity.h.

◆ mGl3Technique

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

Definition at line 64 of file qgsskyboxentity.h.

◆ mMaterial

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

Definition at line 63 of file qgsskyboxentity.h.

◆ mMesh

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

Definition at line 67 of file qgsskyboxentity.h.

◆ mTextureParameter

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

Definition at line 69 of file qgsskyboxentity.h.


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