lights#

property Renderer.lights[source]#

Return a list of all lights in the renderer.

Returns:
list

Lights in the renderer.

Examples

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> pl.renderer.lights   
[<Light (Headlight) at 0x7f1dd8155820>,
 <Light (Camera Light) at 0x7f1dd8155760>,
 <Light (Camera Light) at 0x7f1dd8155340>,
 <Light (Camera Light) at 0x7f1dd8155460>,
 <Light (Camera Light) at 0x7f1dd8155f40>]