Class: QgsTiledSceneLayer3DRenderer

3D renderer that renders content of a tiled scene layer.

Added in version 3.34.

Class Hierarchy

Inheritance diagram of qgis._3d.QgsTiledSceneLayer3DRenderer

Base classes

QgsAbstract3DRenderer

Base class for all renderers that participate in 3D views.

class qgis._3d.QgsTiledSceneLayer3DRenderer[source]

Bases: QgsAbstract3DRenderer

layer(self) QgsTiledSceneLayer | None[source]

Returns tiled scene layer associated with the renderer

Return type:

Optional[QgsTiledSceneLayer]

maximumScreenError(self) float[source]

Returns the maximum screen error allowed when rendering the tiled scene.

Larger values result in a faster render with less content rendered.

Return type:

float

setLayer(self, layer: QgsTiledSceneLayer | None)[source]

Sets tiled scene layer associated with the renderer

Parameters:

layer (Optional[QgsTiledSceneLayer])

setMaximumScreenError(self, error: float)[source]

Sets the maximum screen error allowed when rendering the tiled scene.

Larger values result in a faster render with less content rendered.

Parameters:

error (float)

setShowBoundingBoxes(self, showBoundingBoxes: bool)[source]

Sets whether bounding boxes will be visible when rendering the tiled scene.

Parameters:

showBoundingBoxes (bool)

showBoundingBoxes(self) bool[source]

Returns whether bounding boxes will be visible when rendering the tiled scene.

Return type:

bool