pyvista.Light.is_camera_light#

property Light.is_camera_light[source]#

Return whether the light is a camera light.

Examples

Verify that four out of five lights of the default light kit are camera lights.

>>> import pyvista as pv
>>> plotter = pv.Plotter()
>>> lights = plotter.renderer.lights
>>> [light.is_camera_light for light in lights]
[False, True, True, True, True]
../../../_images/pyvista-Light-is_camera_light-1_00_00.png