API Reference
Return whether the light is on.
This corresponds to the Switch state of the vtk.vtkLight class.
vtk.vtkLight
Examples
Create a light, check if it’s on by default, and turn it off.
>>> import pyvista as pv >>> light = pv.Light() >>> light.on True >>> light.on = False