Class: QgsOnlineDemTerrainSettings¶
Terrain settings for a terrain generator that uses an online DEM to build terrain.
Warning
This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.
Added in version 3.42.
Class Hierarchy¶
Base classes¶
Base class for all terrain settings classes. |
Methods
Returns the resolution of the terrain (how many elevation samples are taken on one side of a terrain tile). |
|
Sets the resolution of the terrain (how many elevation samples are taken on one side of a terrain tile). |
|
Sets the skirt height (in world units). |
|
Returns the skirt height (in world units). |
|
Static Methods
Creates a new instance of a |
- class qgis._3d.QgsOnlineDemTerrainSettings[source]¶
Bases:
QgsAbstractTerrainSettings
- copyCommonProperties()¶
- static create() QgsAbstractTerrainSettings | None [source]¶
Creates a new instance of a
QgsOnlineDemTerrainSettings
object.- Return type:
Optional[QgsAbstractTerrainSettings]
- equalsCommon()¶
- readCommonProperties()¶
- resolution(self) int [source]¶
Returns the resolution of the terrain (how many elevation samples are taken on one side of a terrain tile).
See also
- Return type:
int
- setResolution(self, resolution: int)[source]¶
Sets the
resolution
of the terrain (how many elevation samples are taken on one side of a terrain tile).See also
- Parameters:
resolution (int)
- setSkirtHeight(self, height: float)[source]¶
Sets the skirt
height
(in world units).Skirts at the edges of terrain tiles help hide cracks between adjacent tiles.
See also
- Parameters:
height (float)
- skirtHeight(self) float [source]¶
Returns the skirt height (in world units).
Skirts at the edges of terrain tiles help hide cracks between adjacent tiles.
See also
- Return type:
float
- writeCommonProperties()¶