Class: QgsAbstractMaterialSettings¶
- class qgis.3d.QgsAbstractMaterialSettings¶
Bases:
sip.wrapper
Abstract base class for material settings.
Warning
This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.
New in version 3.0:
Enums
Methods
Clones the material settings.
Reads settings from a DOM
element
Returns the unique type name for the material.
Writes settings to a DOM
element
- RenderingTechnique¶
- clone(self) QgsAbstractMaterialSettings ¶
Clones the material settings.
Caller takes ownership of the returned object.
- Return type
- readXml(self, element: QDomElement, a1: QgsReadWriteContext)¶
Reads settings from a DOM
element
- Parameters
element (QDomElement) –
a1 (QgsReadWriteContext) –
- type(self) str ¶
Returns the unique type name for the material.
- Return type
str
- writeXml(self, element: QDomElement, a1: QgsReadWriteContext)¶
Writes settings to a DOM
element
- Parameters
element (QDomElement) –
a1 (QgsReadWriteContext) –