Light.is_camera_light#
Examples#
Download Python source code | Download Jupyter notebook
Verify that four out of five lights of the default light kit are camera lights.
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> lights = pl.renderer.lights
>>> [light.is_camera_light for light in lights]
[False, True, True, True, True]