pyvista.plotting.themes._DepthPeelingConfig#
- class _DepthPeelingConfig[source]#
PyVista depth peeling configuration.
Examples
Set global depth peeling parameters.
>>> import pyvista as pv >>> pv.global_theme.depth_peeling.number_of_peels = 1 >>> pv.global_theme.depth_peeling.occlusion_ratio = 0.0 >>> pv.global_theme.depth_peeling.enabled = True
Methods#
Attributes#
Return or set if depth peeling is enabled. |
|
Return or set the number of peels in depth peeling. |
|
Return or set the occlusion ratio in depth peeling. |