Renderer.lights#
- property Renderer.lights[source]#
Return a list of all lights in the renderer.
- Returns:
listLights in the renderer.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.renderer.lights
[<Light (Headlight) at ...>,
<Light (Camera Light) at 0x7f1dd8155760>,
<Light (Camera Light) at 0x7f1dd8155340>,
<Light (Camera Light) at 0x7f1dd8155460>,
<Light (Camera Light) at 0x7f1dd8155f40>]