Class: Qgs3DRendererAbstractMetadata

class qgis.core.Qgs3DRendererAbstractMetadata(type: str)

Bases: sip.wrapper

Constructor of the base class

Qgs3DRendererAbstractMetadata(Qgs3DRendererAbstractMetadata)

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

New in version 3.0: Enums

Methods

createRenderer Returns new instance of the renderer given the DOM element.
type Returns unique identifier of the 3D renderer class

Signals

Attributes

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.

type(self) → str

Returns unique identifier of the 3D renderer class