_DepthPeelingConfig#
Examples#
Download Python source code | Download Jupyter notebook
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. |