_DepthPeelingConfig#

class _DepthPeelingConfig[source]#

PyVista depth peeling configuration.

Examples#

Download Python source code | Download Jupyter notebook

Set global depth peeling parameters.

Attributes#

_DepthPeelingConfig.enabled

Return or set if depth peeling is enabled.

_DepthPeelingConfig.number_of_peels

Return or set the number of peels in depth peeling.

_DepthPeelingConfig.occlusion_ratio

Return or set the occlusion ratio in depth peeling.

Inherited Methods#

_ConfigBase.from_dict

Create an instance from a dictionary of attribute values.

_ConfigBase.to_dict

Return config parameters as a dictionary.