Go to: Synopsis. Return value. Related. Flags. Python examples.
tumble(
[camera]
, [azimuthAngle=angle], [elevationAngle=angle], [localTumble=int], [pivotPoint=[linear, linear, linear]], [rotationAngles=[angle, angle]])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
tumble is undoable, NOT queryable, and NOT editable.
The tumble command revolves the camera(s) by varying the azimuth and elevation angles in the perspective window. When both the azimuth and the elevation angles are supplied on the command line, the camera is firstly tumbled for the azimuth angle, then tumbled for the elevation angle.
When no camera name is supplied, this command is applied to the camera in the active view.
The camera's rotate pivot will override a specified pivot point if the rotate pivot is not at the camera's eye point.
None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
azimuthAngle(aa)
|
angle
|
![]() |
||
|
||||
elevationAngle(ea)
|
angle
|
![]() |
||
|
||||
localTumble(lt)
|
int
|
![]() |
||
|
||||
pivotPoint(pp)
|
[linear, linear, linear]
|
![]() |
||
|
||||
rotationAngles(ra)
|
[angle, angle]
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds cmds.camera() cmds.tumble( 'cameraShape1', aa=-30 )# To change the azimuth angle cmds.tumble( 'cameraShape1', ea=15 )# To change the elevation angle cmds.tumble( ra=(-30, 15) )# To change the azimuth angle and the elevation angle