pyvista.plotting.volume_property.VolumeProperty.opacity_unit_distance#
- property VolumeProperty.opacity_unit_distance: float[source]#
Return or set the opacity unit distance.
This is the unit distance on which the scalar opacity transfer function is defined.
By default this is 1.0, meaning that over a distance of 1.0 units, a given opacity (from the transfer function) is accumulated. This is adjusted for the actual sampling distance during rendering.