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