pyvista.Camera.roll

Contents

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 as pv
>>> pl = pv.Plotter()
>>> pl.camera.roll
-120.00000000000001
>>> pl.camera.roll = 45.0
>>> pl.camera.roll
45.0
../../../_images/pyvista-Camera-roll-1_00_00.png