yt.extensions.volume_rendering.PerspectiveCamera.look_at

PerspectiveCamera.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.PerspectiveCamera.get_vector_plane

Next topic

yt.extensions.volume_rendering.PerspectiveCamera.snapshot

This Page