pyvista.Light.is_scene_light

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]
../../../_images/pyvista-Light-is_scene_light-1_00_00.png