Class: Qgs3DRendererRegistry

class qgis.core.Qgs3DRendererRegistry

Bases: sip.wrapper

Creates registry of 3D renderers

Qgs3DRendererRegistry(Qgs3DRendererRegistry)

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

New in version 3.0: Enums

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.

Signals

Attributes

addRenderer(self, metadata: Qgs3DRendererAbstractMetadata)

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

removeRenderer(self, type: str)

Unregisters a 3D renderer type

rendererMetadata(self, type: str) → Qgs3DRendererAbstractMetadata

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

renderersList(self) → List[str]

Returns a list of all available 3D renderer types.