CameraPosition.to_list#
- CameraPosition.to_list()[source]#
Convert to a list of the position, focal point, and viewup.
- Returns:
listList of the position, focal point, and view up of the camera.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera_position.to_list()
[(0.0, 0.0, 1.0), (0.0, 0.0, 0.0), (0.0, 1.0, 0.0)]