pyvista.plotting.themes._LightingConfig.specular_power#

property _LightingConfig.specular_power: float[source]#

Return or set the specular power value.

Must be between 0.0 and 128.0.

Examples

Set the global specular power value to 50.

>>> import pyvista as pv
>>> pv.global_theme.lighting_params.specular_power = 50
>>> pv.global_theme.lighting_params.specular_power
50