mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
[3d] Expose the 3D map settings for a given scene to python API
This commit is contained in:
parent
f188a00df5
commit
16c087f4ab
@ -111,6 +111,13 @@ Returns the scene's elevation range
|
||||
|
||||
|
||||
|
||||
Qgs3DMapSettings *mapSettings() const;
|
||||
%Docstring
|
||||
Returns the 3D map settings.
|
||||
|
||||
.. versionadded:: 3.30
|
||||
%End
|
||||
|
||||
static QMap< QString, Qgs3DMapScene * > openScenes();
|
||||
%Docstring
|
||||
Returns a map of 3D map scenes (by name) open in the QGIS application.
|
||||
|
@ -177,6 +177,13 @@ class _3D_EXPORT Qgs3DMapScene : public QObject
|
||||
*/
|
||||
QgsAbstract3DEngine *engine() SIP_SKIP { return mEngine; }
|
||||
|
||||
/**
|
||||
* Returns the 3D map settings.
|
||||
*
|
||||
* \since QGIS 3.30
|
||||
*/
|
||||
Qgs3DMapSettings *mapSettings() const { return &mMap; }
|
||||
|
||||
/**
|
||||
* Returns a map of 3D map scenes (by name) open in the QGIS application.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user