- property Light.focal_point¶
Return the focal point of the light.
Note: the focal point is defined in the coordinate space indicated by the light’s transformation matrix (if it exists). To get the light’s world space focal point, use the (read-only)
Create a light at (10, 10, 10) shining at (0, 0, 1).
>>> import pyvista as pv >>> light = pv.Light(position=(10, 10, 10)) >>> light.focal_point = (0, 0, 1)