pyvista.plotting.themes._LightingConfig.interpolation#
- property _LightingConfig.interpolation: InterpolationType[ソース]#
デフォルトの補間の種類を返すか設定します.
pyvista.plotting.opts.InterpolationTypeを参照してください.オプションは:
'Phong''Flat''Physically based rendering'
これは,テーマがJSONシリアライズできるように
InterpolationTypeの整数値として格納されます.例
>>> import pyvista as pv >>> pv.global_theme.lighting_params.interpolation = 'Phong' >>> pv.global_theme.lighting_params.interpolation <InterpolationType.PHONG: 2>