pyvista.Light.from_vtk#

classmethod Light.from_vtk(vtk_light)[source]#

Create a light from a vtk.vtkLight, resulting in a copy.

Parameters:
vtk_lightvtk.vtkLight

The vtk.vtkLight to be copied.

Returns:
pyvista.Light

Wrapped light.