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. |
Methods
Static Methods
Returns a new instance of QgsNullMaterialSettings. |
|
Returns |
- 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
True
if the specifiedtechnique
is supported by the material.- Parameters:
technique (QgsMaterialSettingsRenderingTechnique)
- Return type:
bool
- toExportParameters(self) Dict[str, str] ¶
- Return type:
Dict[str, str]