Camera.position#
- property Camera.position: tuple[float, float, float][source]#
Return or set the position of the camera in world coordinates.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.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)
Used In#
Guides
- Cameras (1 use)
API Examples
Camera.extrinsic_matrix(1 use)download_reservoir(1 use)