pyvista.plotting.volume_property.VolumeProperty.diffuse

pyvista.plotting.volume_property.VolumeProperty.diffuse#

property VolumeProperty.diffuse: float[source]#

Return or set the diffuse lighting coefficient.

This is the scattering of light by reflection or transmission. Diffuse reflection results when light strikes an irregular surface such as a frosted window or the surface of a frosted or coated light bulb.

Changing attribute has no effect unless VolumeProperty.shade is set to True.