QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
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. | |
QString | texturePath () const |
Returns the path of the current texture in use. | |
SkyboxType | type () const override |
Returns the type of the current skybox. | |
Public Member Functions inherited from QgsSkyboxEntity | |
QgsSkyboxEntity (QNode *parent=nullptr) | |
Constructor. | |
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 79 of file qgsskyboxentity.h.
QgsPanoramicSkyboxEntity::QgsPanoramicSkyboxEntity | ( | const QString & | texturePath, |
Qt3DCore::QNode * | parent = nullptr |
||
) |
Construct a skybox from a panoramic 360 image.
Definition at line 89 of file qgsskyboxentity.cpp.
|
inline |
Returns the path of the current texture in use.
Definition at line 88 of file qgsskyboxentity.h.
|
inlineoverridevirtual |
Returns the type of the current skybox.
Implements QgsSkyboxEntity.
Definition at line 90 of file qgsskyboxentity.h.