pyvista.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

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> pl.camera.roll
-120.00000000000001
>>> pl.camera.roll = 45.0
>>> pl.camera.roll
45.0
https://d33wubrfki0l68.cloudfront.net/8d857d80b4aa52de3ad5db22f6e1210632178bb4/0508e/_images/pyvista-camera-roll-1_00_00.png