Main Content
camroll
Rotate camera about view axis
Syntax
camroll(dtheta)
camroll(ax,dtheta)
Description
camroll(dtheta)
rotates
the camera around the camera viewing axis by the amounts specified
in dtheta
(in degrees). The viewing axis is the
line passing through the camera position and the camera target.
camroll(ax,dtheta)
operates
on the axes identified by the first argument, ax
.
When you do not specify an axes object, camroll
operates
on the current axes.
camroll
sets the axes CameraUpVector
property
and also sets the CameraUpVectorMode
property
to manual
.
Examples
Version History
Introduced before R2006a