position

property Camera.position

Return or set the position of the camera in world coordinates.

Examples

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> pl.camera.position
(1.0, 1.0, 1.0)
>>> pl.camera.position = (2.0, 1.0, 1.0)
>>> pl.camera.position
(2.0, 1.0, 1.0)
../../../_images/pyvista-Camera-position-1_00_00.png