Camera.distance#
Notes#
Setting the distance keeps the camera fixed and moves the focal point.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.distance
1.73205
>>> pl.camera.distance = 2.0
>>> pl.camera.distance
2.0
Used In#
Docstring Examples
download_reservoir(1 use)