Class: QgsVectorLayer3DRenderer¶
-
class
qgis.3d.
QgsVectorLayer3DRenderer
(s: QgsAbstract3DSymbol = None)¶ Bases:
QgsAbstract3DRenderer
Takes ownership of the symbol object
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.
- Parameters
s –
-
clone
(self) → QgsVectorLayer3DRenderer¶ - Return type
-
layer
(self) → QgsVectorLayer¶ Returns vector layer associated with the renderer
- Return type
-
readXml
(self, elem: QDomElement, context: QgsReadWriteContext)¶ - Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –
-
resolveReferences
(self, project: QgsProject)¶ - Parameters
project (QgsProject) –
-
setLayer
(self, layer: QgsVectorLayer)¶ Sets vector layer associated with the renderer
- Parameters
layer (QgsVectorLayer) –
-
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
-
type
(self) → str¶ - Return type
str
-
writeXml
(self, elem: QDomElement, context: QgsReadWriteContext)¶ - Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –