pyvista.plotting.volume_property.VolumeProperty.ambient#

property VolumeProperty.ambient: float[source]#

Return or set ambient lighting coefficient.

This is the amount of light in the range of 0 to 1 (default 0.0) that reaches the actor when not directed at the light source emitted from the viewer.

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