_LightingConfig.metallic#
- property _LightingConfig.metallic: float[source]#
Return or set the metallic value.
This is the default value of
pyvista.Property.metallic, which documents the valid range.
Examples#
Download Python source code | Download Jupyter notebook
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