multi_samples#

property MapdlTheme.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 as pv
>>> pv.global_theme.anti_aliasing = 'msaa'
>>> pv.global_theme.multi_samples = 2