Go to: Synopsis. Return value. Related.
Flags. MEL
examples.
panZoom [-absolute] [-downDistance linear] [-leftDistance linear] [-relative] [-rightDistance linear] [-upDistance linear] [-zoomRatio float] [camera]
panZoom is undoable, NOT queryable, and NOT
editable.
The panZoom command pans/zooms the 2D film. The panZoom command can
be applied to either a perspective or an orthographic camera. When
no camera name is supplied, this command is applied to the camera
in the active view.
None
camera, cameraView, dolly,
listCameras, lookThru, orbit,
roll, track,
tumble, viewCamera, viewClipPlane, viewFit, viewHeadOn, viewLookAt, viewPlace, viewSet
absolute, downDistance, leftDistance, relative, rightDistance, upDistance, zoomRatio
Long name (short name) |
Argument types |
Properties |
-absolute(-abs) |
|
|
|
This flag modifies the behavior of the distance and zoomRatio
flags. If specified, the distance and zoomRatio value will be
applied directly. |
|
-relative(-rel) |
|
|
|
This flag modifies the behavior of the distance and zoomRatio
flags. If specified, the distance or zoomRatio value is used
multiply the camera's existing value. By default the relative flag
is always on. |
|
-leftDistance(-l) |
linear |
|
|
Set the amount of left pan distance in inches |
|
-rightDistance(-r) |
linear |
|
|
Set the amount of right pan distance in inches |
|
-upDistance(-u) |
linear |
|
|
Set the amount of up pan distance in inches |
|
-downDistance(-d) |
linear |
|
|
Set the amount of down pan distance in inches |
|
-zoomRatio(-z) |
float |
|
|
Set the amount of zoom ratio |
|
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can be used more than once in a
command. |
camera;
panZoom -d 0.3 cameraShape1;
panZoom -u 0.4 -abs cameraShape1;
panZoom -z 0.5 cameraShape1;