QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
Public Member Functions | List of all members
QgsPanoramicSkyboxEntity Class Reference

A skybox constructed from a panoramic image. More...

#include <qgsskyboxentity.h>

Inheritance diagram for QgsPanoramicSkyboxEntity:
Inheritance graph
[legend]

Public Member Functions

 QgsPanoramicSkyboxEntity (const QString &texturePath, Qt3DCore::QNode *parent=nullptr)
 Construct a skybox from a panoramic 360 image. More...
 
QString texturePath () const
 Returns the path of the current texture in use. More...
 
SkyboxType type () const override
 Returns the type of the current skybox. More...
 
- Public Member Functions inherited from QgsSkyboxEntity
 QgsSkyboxEntity (QNode *parent=nullptr)
 Constructor. More...
 

Additional Inherited Members

- Public Types inherited from QgsSkyboxEntity
enum  SkyboxType { PanoramicSkybox , DistinctTexturesSkybox }
 Skybox type enumeration. More...
 
- Protected Attributes inherited from QgsSkyboxEntity
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

A skybox constructed from a panoramic image.

3

Since
QGIS 3.16

Definition at line 78 of file qgsskyboxentity.h.

Constructor & Destructor Documentation

◆ QgsPanoramicSkyboxEntity()

QgsPanoramicSkyboxEntity::QgsPanoramicSkyboxEntity ( const QString &  texturePath,
Qt3DCore::QNode *  parent = nullptr 
)

Construct a skybox from a panoramic 360 image.

Definition at line 88 of file qgsskyboxentity.cpp.

Member Function Documentation

◆ texturePath()

QString QgsPanoramicSkyboxEntity::texturePath ( ) const
inline

Returns the path of the current texture in use.

Definition at line 85 of file qgsskyboxentity.h.

◆ type()

SkyboxType QgsPanoramicSkyboxEntity::type ( ) const
inlineoverridevirtual

Returns the type of the current skybox.

Implements QgsSkyboxEntity.

Definition at line 87 of file qgsskyboxentity.h.


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