Class: QgsRuleBased3DRendererMetadata

class qgis.3d.QgsRuleBased3DRendererMetadata

Bases: Qgs3DRendererAbstractMetadata

Metadata for rule-based 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.

New in version 3.6:

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