pyvista.Light.is_headlight#
- property Light.is_headlight[source]#
Return whether the light is a headlight.
Examples
Verify that the first light of the default light kit is a headlight.
>>> import pyvista as pv >>> plotter = pv.Plotter() >>> lights = plotter.renderer.lights >>> [light.is_headlight for light in lights] [True, False, False, False, False]