distance

property Camera.distance

Return or set the distance from the camera position to the focal point.

Examples

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> pl.camera.distance
1.73205
>>> pl.camera.distance = 2.0
>>> pl.camera.distance
2.0
../../../_images/pyvista-Camera-distance-1_00_00.png