Class: Qgs3DRendererRegistry

class qgis.core.Qgs3DRendererRegistry

Bases: sip.wrapper

Keeps track of available 3D renderers. Should be accessed through QgsApplication.renderer3DRegistry() singleton.

New in version 3.0.

Qgs3DRendererRegistry() Creates registry of 3D renderers

Qgs3DRendererRegistry(Qgs3DRendererRegistry)

Methods

addRenderer

Registers a new 3D renderer type.

removeRenderer

Unregisters a 3D renderer type

rendererMetadata

Returns metadata for a 3D renderer type (may be used to create a new instance of the type)

renderersList

Returns a list of all available 3D renderer types.

addRenderer(self, metadata: Qgs3DRendererAbstractMetadata)

Registers a new 3D renderer type. The call takes ownership of the passed metadata object.

Parameters

metadata (Qgs3DRendererAbstractMetadata) –

removeRenderer(self, type: str)

Unregisters a 3D renderer type

Parameters

type (str) –

rendererMetadata(self, type: str)Qgs3DRendererAbstractMetadata

Returns metadata for a 3D renderer type (may be used to create a new instance of the type)

Parameters

type (str) –

Return type

Qgs3DRendererAbstractMetadata

renderersList(self)List[str]

Returns a list of all available 3D renderer types.

Return type

List[str]