QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Contains the configuration of a skybox entity. More...
#include <qgsskyboxsettings.h>
Public Member Functions | |
QgsSkyboxSettings ()=default | |
QgsSkyboxSettings (const QgsSkyboxSettings &other) | |
QMap< QString, QString > | cubeMapFacesPaths () const |
Returns a map containing the path of each texture specified by the user. | |
QgsSkyboxSettings & | operator= (QgsSkyboxSettings const &rhs) |
QString | panoramicTexturePath () const |
Returns the panoramic texture path of a skybox of type "Panormaic skybox". | |
void | readXml (const QDomElement &element, const QgsReadWriteContext &context) |
Reads settings from a DOM element. | |
void | setCubeMapFace (const QString &face, const QString &path) |
Sets a face of one of the skybox 6 textures The face parameter needs to be one of the followings: "posX", "posY", "posZ", "negX", "negY", "negZ". | |
void | setPanoramicTexturePath (const QString &texturePath) |
Sets the panoramic texture path of a skybox of type "Panoramic skybox". | |
void | setSkyboxType (QgsSkyboxEntity::SkyboxType type) |
Sets the type of the skybox. | |
QgsSkyboxEntity::SkyboxType | skyboxType () const |
Returns the type of the skybox. | |
void | writeXml (QDomElement &element, const QgsReadWriteContext &context) const |
Writes settings to a DOM element. | |
Contains the configuration of a skybox entity.
3
Definition at line 36 of file qgsskyboxsettings.h.
|
default |
QgsSkyboxSettings::QgsSkyboxSettings | ( | const QgsSkyboxSettings & | other | ) |
Definition at line 23 of file qgsskyboxsettings.cpp.
|
inline |
Returns a map containing the path of each texture specified by the user.
The map will contain the following keys corresponding to each face "posX", "posY", "posZ", "negX", "negY", "negZ".
Definition at line 63 of file qgsskyboxsettings.h.
QgsSkyboxSettings & QgsSkyboxSettings::operator= | ( | QgsSkyboxSettings const & | rhs | ) |
Definition at line 31 of file qgsskyboxsettings.cpp.
|
inline |
Returns the panoramic texture path of a skybox of type "Panormaic skybox".
Definition at line 55 of file qgsskyboxsettings.h.
void QgsSkyboxSettings::readXml | ( | const QDomElement & | element, |
const QgsReadWriteContext & | context | ||
) |
Reads settings from a DOM element.
Definition at line 39 of file qgsskyboxsettings.cpp.
|
inline |
Sets a face of one of the skybox 6 textures The face parameter needs to be one of the followings: "posX", "posY", "posZ", "negX", "negY", "negZ".
Definition at line 69 of file qgsskyboxsettings.h.
|
inline |
Sets the panoramic texture path of a skybox of type "Panoramic skybox".
Definition at line 57 of file qgsskyboxsettings.h.
|
inline |
Sets the type of the skybox.
Definition at line 52 of file qgsskyboxsettings.h.
|
inline |
Returns the type of the skybox.
Definition at line 50 of file qgsskyboxsettings.h.
void QgsSkyboxSettings::writeXml | ( | QDomElement & | element, |
const QgsReadWriteContext & | context | ||
) | const |
Writes settings to a DOM element.
Definition at line 57 of file qgsskyboxsettings.cpp.