Class: Qgs3DRendererAbstractMetadata

class qgis.core.Qgs3DRendererAbstractMetadata

Bases: sip.wrapper

Base metadata class for 3D renderers. Instances of derived classes may be registered in Qgs3DRendererRegistry.

New in version 3.0.

Qgs3DRendererAbstractMetadata(type: str) Constructor of the base class

Qgs3DRendererAbstractMetadata(Qgs3DRendererAbstractMetadata)

Methods

createRenderer

Returns new instance of the renderer given the DOM element.

type

Returns unique identifier of the 3D renderer class

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

Returns new instance of the renderer given the DOM element. Returns None on error. Pure virtual function: must be implemented in derived classes.

Parameters
Return type

QgsAbstract3DRenderer

type(self)str

Returns unique identifier of the 3D renderer class

Return type

str