pyvista.Light.from_vtk#
- classmethod Light.from_vtk(vtk_light)[source]#
Create a light from a
vtk.vtkLight
, resulting in a copy.- Parameters:
- vtk_light
vtk.vtkLight
The
vtk.vtkLight
to be copied.
- vtk_light
- Returns:
pyvista.Light
Wrapped light.
Create a light from a vtk.vtkLight
, resulting in a copy.
vtk.vtkLight
The vtk.vtkLight
to be copied.
pyvista.Light
Wrapped light.