multi_samples#

property DarkTheme.multi_samples: int#

Return or set the default multi_samples parameter.

Set the number of multisamples to used with hardware anti_aliasing. This is only used when anti_aliasing is set to "msaa".

Examples

Set the default number of multisamples to 2 and enable "msaa"

>>> import pyvista
>>> pyvista.global_theme.anti_aliasing = 'msaa'
>>> pyvista.global_theme.multi_samples = 2