Go to:
Return value. Related commands. Flags. Examples.
Synopsis
orbit [flags] [camera]
The orbit command revolves the camera(s) horizontally and/or
vertically in the perspective window. The rotation axis is with
respect to the camera.
To revolve horizontally: the rotation axis is the camera up
direction vector. To revolve vertically: the rotation axis is the
camera left direction vector.
When both the horizontal and the vertical angles are supplied on
the command line, the camera is firstly revolved horizontally,
then revolved vertically.
This command may be applied to more than one cameras; objects that
are not cameras are ignored. When no camera name supplied on the
command line, this command is applied to all currently active
cameras.
Return value
unknown
Related commands
camera, cameraView, dolly, listCameras, lookThru, roll, track, tumble, viewCamera, viewClipPlane, viewFit, viewHeadOn, viewLookAt, viewPlace, viewSetFlags
horizontalAngle, pivotPoint, rotationAngles, verticalAngle
| Long name (short name) | [argument types] | Properties |
|---|
-horizontalAngle
(-ha)
| |  |
|
Angle to revolve horizontally.
|
|
-verticalAngle
(-va)
| |  |
|
Angle to revolve vertically.
|
|
-rotationAngles
(-ra)
| |  |
|
Angle to revolve horizontally and vertically.
|
|
-pivotPoint
(-pp)
| |  |
|
Used as the pivot point in the world space.
|
|
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
|
Examples
orbit -ha -30 cameraShape1; // Change the horizontal angle by -30 degrees
orbit -va 15 cameraShape1; // Change the vertical angle by 15 degrees
orbit -ra -30 15 cameraShape1; // Change the horizontal angle by -30 degrees and the vertical angle by 15 degrees