yt.extensions.volume_rendering.Camera.look_at

Camera.look_at(new_center, north_vector=None)

Change the view direction based on a new focal point.

This will recalculate all the necessary vectors and vector planes related to a camera to point at a new location.

Parameters :

new_center : array_like

The new “center” of the view port – the focal point for the camera.

north_vector : array_like, optional

The “up” direction for the plane of rays. If not specific, calculated automatically.

Previous topic

yt.extensions.volume_rendering.Camera.get_vector_plane

Next topic

yt.extensions.volume_rendering.Camera.snapshot

This Page