pyvista.Renderer.view_vector#

Renderer.view_vector(vector, viewup=None, render=True)[source]#

Point the camera in the direction of the given vector.

Parameters:
vectorsequence[float]

Direction to point the camera in.

viewupsequence[float], optional

Sequence describing the view up of the camera.

renderbool, default: True

If the render window is being shown, trigger a render after setting the camera position.