pyvista.CameraPosition.to_list#

CameraPosition.to_list()[source]#

Convert to a list of the position, focal point, and viewup.

Returns:
list

List of the position, focal point, and view up of the camera.

Examples

>>> 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)]
../../../_images/pyvista-CameraPosition-to_list-1_00_00.png