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]
https://d33wubrfki0l68.cloudfront.net/8d857d80b4aa52de3ad5db22f6e1210632178bb4/514e3/_images/pyvista-light-is_scene_light-1_00_00.png