Light.focal_point#
- property Light.focal_point[source]#
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)
world_focal_pointproperty.
Examples#
Download Python source code | Download Jupyter notebook
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)