camlookat
Position camera to view object or group of objects
Syntax
camlookat(object_handles)
camlookat(axes_handle)
camlookat
Description
camlookat(object_handles)
views the objects identified
in the vector object_handles
. The vector can contain the handles of
axes Children
.
camlookat(axes_handle)
views
the objects that are children of the axes identified by axes_handle
.
camlookat
views the objects
that are in the current axes by moving the camera position and camera
target while preserving the relative view direction and camera view
angle. The viewed object (or objects) roughly fill the axes position
rectangle. To change the view, camlookat
sets
the axes CameraPosition
and CameraTarget
properties.
Examples
Version History
Introduced before R2006a