pyvista.plotting.themes._LightingConfig#
- class _LightingConfig[source]#
PyVista lighting configuration.
This will control the lighting interpolation type, parameters, and Physically Based Rendering (PBR) options
Examples
Set global PBR parameters.
>>> import pyvista as pv >>> pv.global_theme.lighting_params.interpolation = 'pbr' >>> pv.global_theme.lighting_params.metallic = 0.5 >>> pv.global_theme.lighting_params.roughness = 0.25
Methods#
Attributes#
Return or set the ambient value. |
|
Return or set the diffuse value. |
|
Return or set if emissive is used with point Gaussian style. |
|
Return or set the default interpolation type. |
|
Return or set the metallic value. |
|
Return or set the roughness value. |
|
Return or set the specular value. |
|
Return or set the specular power value. |