pyvista.Light.is_scene_light#
- property Light.is_scene_light[source]#
Return whether the light is a scene light.
Examples
Verify that none of the lights of the default light kit are scene lights.
>>> import pyvista as pv >>> plotter = pv.Plotter() >>> lights = plotter.renderer.lights >>> [light.is_scene_light for light in lights] [False, False, False, False, False]