_LightingConfig.diffuse#
- property _LightingConfig.diffuse: float[source]#
Return or set the diffuse value.
This is the default value of
pyvista.Property.diffuse, which documents the valid range.
Examples#
Download Python source code | Download Jupyter notebook
Set the global diffuse lighting value to 0.5.
>>> import pyvista as pv
>>> pv.global_theme.lighting_params.diffuse = 0.5
>>> pv.global_theme.lighting_params.diffuse
0.5