Class: QgsRuleBased3DRendererMetadata¶
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.
Added in version 3.6.
Class Hierarchy¶
Base classes¶
Base metadata class for 3D renderers. |
Abstract Methods
Creates an instance of a 3D renderer based on a DOM element with renderer configuration |
- class qgis._3d.QgsRuleBased3DRendererMetadata[source]¶
Bases:
Qgs3DRendererAbstractMetadata
- abstract createRenderer(self, elem: QDomElement, context: QgsReadWriteContext) QgsAbstract3DRenderer | None [source]¶
Creates an instance of a 3D renderer based on a DOM element with renderer configuration
- Parameters:
elem (QDomElement)
context (QgsReadWriteContext)
- Return type:
Optional[QgsAbstract3DRenderer]