Class: QgsNullMaterialSettings¶
- class qgis._3d.QgsNullMaterialSettings¶
Bases:
qgis._3d.QgsAbstractMaterialSettings
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.
New in version 3.16.2.
QgsNullMaterialSettings() Constructor for QgsNullMaterialSettings.
QgsNullMaterialSettings(
QgsNullMaterialSettings
)Methods
- rtype:
QgsNullMaterialSettings
Returns a new instance of QgsNullMaterialSettings.
Returns
True
if the specifiedtechnique
is supported by the material.- rtype:
Dict[str, str]
- rtype:
str
- clone(self) QgsNullMaterialSettings ¶
- Return type:
- create() QgsAbstractMaterialSettings ¶
Returns a new instance of QgsNullMaterialSettings.
- Return type:
- supportsTechnique(technique: QgsMaterialSettingsRenderingTechnique) bool ¶
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]
- type(self) str ¶
- Return type:
str