Skip to content

camlookat

Aim the camera at an object or point.

camlookat
camlookat(h)

Without arguments, points the camera at the centroid of all objects in the axes. With a handle, points at that specific object.

camlookat(h)
  • camtarget — Get or set the camera target (point the camera looks at).
  • view — Set or query the camera view angle.