Class: QgsTiledSceneLayer3DRenderer¶
3D renderer that renders content of a tiled scene layer.
Added in version 3.34.
Class Hierarchy¶
Base classes¶
Base class for all renderers that participate in 3D views. |
Methods
Returns tiled scene layer associated with the renderer |
|
Returns the maximum screen error allowed when rendering the tiled scene. |
|
Sets tiled scene layer associated with the renderer |
|
Sets the maximum screen error allowed when rendering the tiled scene. |
|
Sets whether bounding boxes will be visible when rendering the tiled scene. |
|
Returns whether bounding boxes will be visible when rendering the tiled scene. |
- 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.
See also
- 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.
See also
- Parameters:
error (float)
- setShowBoundingBoxes(self, showBoundingBoxes: bool)[source]¶
Sets whether bounding boxes will be visible when rendering the tiled scene.
See also
- Parameters:
showBoundingBoxes (bool)