Class: QgsTiledSceneLayer¶
Represents a map layer supporting display of tiled scene objects.
Added in version 3.34.
Class Hierarchy¶
Base classes¶
Base class for all map layer types. This is the base class for all map layer types (vector, raster).  | 
|
Methods
Returns the 2D renderer for the tiled scene.  | 
|
Sets the 2D renderer for the tiled scene.  | 
- class qgis.core.QgsTiledSceneLayer[source]¶
 Bases:
QgsMapLayer- __init__(uri: str | None = '', baseName: str | None = '', provider: str | None = '', options: QgsTiledSceneLayer.LayerOptions = QgsTiledSceneLayer.LayerOptions())
 Constructor for QgsTiledSceneLayer.
- Parameters:
 uri (Optional[str] = '')
baseName (Optional[str] = '')
provider (Optional[str] = '')
options (QgsTiledSceneLayer.LayerOptions = QgsTiledSceneLayer.LayerOptions())
- class LayerOptions¶
 Bases:
objectSetting options for loading tiled scene layers.
- skipCrsValidation¶
 Controls whether the layer is allowed to have an invalid/unknown CRS.
If
True, then no validation will be performed on the layer’s CRS and the layer layer’scrs()may beinvalid()(i.e. the layer will have no georeferencing available and will be treated as having purely numerical coordinates).If
False(the default), the layer’s CRS will be validated usingQgsCoordinateReferenceSystem.validate(), which may cause a blocking, user-facing dialog asking users to manually select the correct CRS for the layer.
- renderer(self) QgsTiledSceneRenderer | None[source]¶
 Returns the 2D renderer for the tiled scene.
See also
- Return type:
 Optional[QgsTiledSceneRenderer]
- setRenderer(self, renderer: QgsTiledSceneRenderer | None)[source]¶
 Sets the 2D
rendererfor the tiled scene.Ownership of
rendereris transferred to the layer.See also
- Parameters:
 renderer (Optional[QgsTiledSceneRenderer])