Camera.clipping_range#
- property Camera.clipping_range[source]#
Return or set the location of the clipping planes.
Clipping planes are the near and far clipping planes along the direction of projection.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.clipping_range
(0.01, 1000.01)
>>> pl.camera.clipping_range = (1, 10)
>>> pl.camera.clipping_range
(1.0, 10.0)