Go to: Synopsis. Return value. Related. Flags. MEL examples.
track [-down linear] [-left linear] [-right linear] [-upDistance01 linear] [-upDistance02 linear]
[camera]
track is undoable, NOT queryable, and NOT editable.
The track command translates a camera horizontally or vertically
in the world space. The viewing-direction and up-direction of the
camera are not altered. There is no translation in the viewing
direction.
The track 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, tumble, viewCamera, viewClipPlane, viewFit, viewHeadOn, viewLookAt, viewPlace, viewSet
down, left, right, upDistance01, upDistance02
Long name (short name) |
Argument types |
Properties |
|
-down(-d)
|
linear
|
|
|
Set the amount of down translation in unit distance.
|
|
-left(-l)
|
linear
|
|
|
Set the amount of left translation in unit distance.
|
|
-right(-r)
|
linear
|
|
|
Set the amount of right translation in unit distance.
|
|
-upDistance01(-u)
|
linear
|
|
|
Set the amount of up translation in unit distance. This is equivalent
to using up/upDistance02 flag.
|
|
-upDistance02(-up)
|
linear
|
|
|
Set the amount of up translation in unit distance. This is equivalent
to using u/upDistance01 flag.
|
|
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;
track -d 10 cameraShape1; // To track the camera down
track -u -10 cameraShape1;
track -u -10;