QGIS API Documentation 4.1.0-Master (ca2ac17535b)
Loading...
Searching...
No Matches
QgsCubeFacesSkyboxEntity Class Reference

A skybox constructed from 6 cube faces. More...

#include <qgsskyboxentity.h>

Inheritance diagram for QgsCubeFacesSkyboxEntity:

Public Member Functions

 QgsCubeFacesSkyboxEntity (Qgis::SkyboxCubeMapping mapping, const QString &posX, const QString &posY, const QString &posZ, const QString &negX, const QString &negY, const QString &negZ, bool enableEnvironmentalLighting, Qt3DCore::QNode *parent=nullptr)
 Constructs a skybox from 6 different images.
Qgis::Map3DBackgroundType type () const override
 Returns the background type of skybox entity.
void updateEnvironmentLight (QgsEnvironmentLight *light) const override
 Updates the specified environment light to match the skybox settings.
Public Member Functions inherited from QgsSkyboxEntity
 QgsSkyboxEntity (QNode *parent=nullptr)
 Constructor.

Additional Inherited Members

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 6 cube faces.

Since
QGIS 3.16

Definition at line 128 of file qgsskyboxentity.h.

Constructor & Destructor Documentation

◆ QgsCubeFacesSkyboxEntity()

QgsCubeFacesSkyboxEntity::QgsCubeFacesSkyboxEntity ( Qgis::SkyboxCubeMapping mapping,
const QString & posX,
const QString & posY,
const QString & posZ,
const QString & negX,
const QString & negY,
const QString & negZ,
bool enableEnvironmentalLighting,
Qt3DCore::QNode * parent = nullptr )

Constructs a skybox from 6 different images.

Definition at line 123 of file qgsskyboxentity.cpp.

Member Function Documentation

◆ type()

Qgis::Map3DBackgroundType QgsCubeFacesSkyboxEntity::type ( ) const
inlineoverridevirtual

Returns the background type of skybox entity.

Implements QgsSkyboxEntity.

Definition at line 145 of file qgsskyboxentity.h.

◆ updateEnvironmentLight()

void QgsCubeFacesSkyboxEntity::updateEnvironmentLight ( QgsEnvironmentLight * light) const
overridevirtual

Updates the specified environment light to match the skybox settings.

Since
QGIS 4.2

Implements QgsSkyboxEntity.

Definition at line 277 of file qgsskyboxentity.cpp.


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