Class: QgsVectorLayer3DRendererMetadata

class qgis.3d.QgsVectorLayer3DRendererMetadata

Bases: Qgs3DRendererAbstractMetadata

Metadata for vector layer 3D renderer to allow creation of its instances from XML

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.

Methods

createRenderer

Creates an instance of a 3D renderer based on a DOM element with renderer configuration

createRenderer(self, elem: QDomElement, context: QgsReadWriteContext) → QgsAbstract3DRenderer

Creates an instance of a 3D renderer based on a DOM element with renderer configuration

Parameters
Return type

QgsAbstract3DRenderer