Class: QgsMeshTerrainProvider¶
A terrain provider that uses the Z values of a mesh layer to build a terrain surface.
Added in version 3.26.
Class Hierarchy¶
Base classes¶
Abstract base class for terrain providers  | 
Methods
Returns the mesh layer to be used as the terrain source.  | 
|
Sets the mesh layer to be used as the terrain source.  | 
- class qgis.core.QgsMeshTerrainProvider[source]¶
 Bases:
QgsAbstractTerrainProvider- layer(self) QgsMeshLayer | None[source]¶
 Returns the mesh layer to be used as the terrain source.
See also
- Return type:
 Optional[QgsMeshLayer]
- setLayer(self, layer: QgsMeshLayer | None)[source]¶
 Sets the mesh
layerto be used as the terrain source.See also
- Parameters:
 layer (Optional[QgsMeshLayer])