Class: QgsNullMaterialSettings¶
Null shading material used for rendering models and scenes with native textures.
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.
Added in version 3.16.2.
Class Hierarchy¶
Base classes¶
Abstract base class for material settings. |
- class qgis._3d.QgsNullMaterialSettings[source]¶
Bases:
QgsAbstractMaterialSettings- static create() QgsAbstractMaterialSettings | None[source]¶
Returns a new instance of QgsNullMaterialSettings.
- Return type:
Optional[QgsAbstractMaterialSettings]
- static supportsTechnique(technique: QgsMaterialSettingsRenderingTechnique) bool[source]¶
Returns
Trueif the specifiedtechniqueis supported by the material.- Parameters:
technique (QgsMaterialSettingsRenderingTechnique)
- Return type:
bool
- virtual toExportParameters(self) Dict[str, str]¶
- Return type:
Dict[str, str]