set_scene_light

Light.set_scene_light()

Set the light to be a scene light.

Scene lights are stationary with respect to the scene. Calling this method will reset the light’s transformation matrix.

Examples

>>> import pyvista
>>> light = pyvista.Light()
>>> light.set_scene_light()
>>> light.light_type
<LightType.SCENE_LIGHT: 3>