Camera.roll#
- property Camera.roll[source]#
Return or set the roll of the camera about the direction of projection.
This will spin the camera about its axis.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.roll
-120.00000000000001
>>> pl.camera.roll = 45.0
>>> pl.camera.roll
45.0