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.
Added in version 3.0.
QgsVectorLayer3DRenderer(s: Optional[QgsAbstract3DSymbol] = None) Takes ownership of the symbol object
Methods
- rtype:
Optional[QgsVectorLayer3DRenderer]
- param elem:
Sets 3D symbol associated with the renderer.
Returns 3D symbol associated with the renderer
- rtype:
str
- param elem:
- clone(self) QgsVectorLayer3DRenderer | None ¶
- Return type:
Optional[QgsVectorLayer3DRenderer]
- copyBaseProperties()¶
- readXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters:
elem (QDomElement)
context (QgsReadWriteContext)
- readXmlBaseProperties()¶
- setSymbol(self, symbol: QgsAbstract3DSymbol | None)¶
Sets 3D symbol associated with the renderer. Takes ownership of the symbol
- Parameters:
symbol (Optional[QgsAbstract3DSymbol])
- symbol(self) QgsAbstract3DSymbol | None ¶
Returns 3D symbol associated with the renderer
- Return type:
Optional[QgsAbstract3DSymbol]
- type(self) str ¶
- Return type:
str
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters:
elem (QDomElement)
context (QgsReadWriteContext)
- writeXmlBaseProperties()¶