Class: QgsVectorLayer3DRenderer

class qgis._3d.QgsVectorLayer3DRenderer

Bases: qgis._3d.QgsAbstractVectorLayer3DRenderer

3D renderer that renders all features of a vector layer with the same 3D symbol. The appearance is completely defined by the symbol.

New in version 3.0.

QgsVectorLayer3DRenderer(s: QgsAbstract3DSymbol = None) Takes ownership of the symbol object

Methods

clone

rtype:

QgsVectorLayer3DRenderer

copyBaseProperties

readXml

param elem:

readXmlBaseProperties

setSymbol

Sets 3D symbol associated with the renderer.

symbol

Returns 3D symbol associated with the renderer

type

rtype:

str

writeXml

param elem:

writeXmlBaseProperties

clone(self) QgsVectorLayer3DRenderer
Return type:

QgsVectorLayer3DRenderer

copyBaseProperties()
readXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters:
readXmlBaseProperties()
setSymbol(self, symbol: QgsAbstract3DSymbol)

Sets 3D symbol associated with the renderer. Takes ownership of the symbol

Parameters:

symbol (QgsAbstract3DSymbol) –

symbol(self) QgsAbstract3DSymbol

Returns 3D symbol associated with the renderer

Return type:

QgsAbstract3DSymbol

type(self) str
Return type:

str

writeXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters:
writeXmlBaseProperties()