_CameraConfig#
Examples#
Download Python source code | Download Jupyter notebook
Set global camera parameters.
>>> import pyvista as pv
>>> pv.global_theme.camera.position = [1.0, 1.0, 1.0]
>>> pv.global_theme.camera.viewup = [0.0, 0.0, 1.0]
Methods#
Attributes#
Return or set parallel projection mode. |
|
Return or set parallel scale. |
|
Return or set the camera position. |
|
Return or set the camera viewup. |