QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
A skybox constructed from a panoramic image. More...
#include <qgsskyboxentity.h>
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... | |
virtual SkyboxType | type () const =0 |
Returns the type of the current skybox. 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 |
A skybox constructed from a panoramic image.
3
Definition at line 78 of file qgsskyboxentity.h.
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.
|
inline |
Returns the path of the current texture in use.
Definition at line 87 of file qgsskyboxentity.h.
|
inlineoverridevirtual |
Returns the type of the current skybox.
Implements QgsSkyboxEntity.
Definition at line 89 of file qgsskyboxentity.h.