pyvista.plotting.themes._LightingConfig.metallic#
- property _LightingConfig.metallic: float[source]#
Return or set the metallic value.
This requires that the interpolation be set to
'Physically based rendering'
. Must be between 0 and 1.Examples
Set the global metallic value used in physically based rendering to
0.5
.>>> import pyvista as pv >>> pv.global_theme.lighting_params.metallic = 0.5 >>> pv.global_theme.lighting_params.metallic 0.5