pyvista.Camera.elevation#

property Camera.elevation[source]#

Return or set the vertical rotation of the scene.

Rotate the camera about the cross product of the negative of the direction of projection and the view up vector, using the focal point as the center of rotation.

Examples

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.elevation
0.0
>>> pl.camera.elevation = 45.0
>>> pl.camera.elevation
45.0
../../../_images/pyvista-Camera-elevation-1_00_00.png