Go to: Synopsis. Flags. Return value. Related. MEL examples.
viewCamera [-move] [-sideView] [-topView]
[camera]
viewCamera is undoable, queryable, and editable.
The viewCamera command is used to position a camera to look
directly at the side or top of another camera. This is primarily
useful for the user when he or she is setting depth-of-field and
clipping planes, if they are being used.
The default behaviour: If no other flags are specified, the camera
in the active panel is moved and the -t is presumed. If there is a
camera selected, it is used as the target camera.
move, sideView, topView
Long name (short name) |
[argument types] |
Properties |
-move(-m)
|
|
|
|
Specifies which camera needs to move.
|
|
-topView(-t)
|
|
|
|
Position camera to look at the top of the target camera
(default).
|
|
-sideView(-s)
|
|
|
|
Position camera to look at the side of the target camera.
|
|
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
|
None
camera, cameraView, dolly, listCameras, lookThru, orbit, roll, track, tumble, viewClipPlane, viewFit, viewHeadOn, viewLookAt, viewPlace, viewSet
viewCamera -m cameraShape1 cameraShape2;
// Move current view camera to top of camera1
viewCamera camera1;