Go to: Synopsis. Return value. Flags. MEL examples.
panZoomCtx [-panMode] [-zoomMode] [-zoomScale float]
panZoomCtx is undoable, queryable, and editable.
This command can be used to create camera 2D pan/zoom context.
string | The name of the context |
In query mode, return type is based on queried flag.
panMode, zoomMode, zoomScale
Long name (short name) |
Argument types |
Properties |
-zoomScale(-zs)
|
float
|
|
|
Scale the zoom. The smaller the scale the slower the drag.
|
|
-panMode(-pm)
|
|
|
|
Specify to create a camera 2D pan context, which is the default.
|
|
-zoomMode(-zm)
|
|
|
|
Specify to create a camera 2D zoom context.
|
|
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.
|
panZoomCtx -zs 1.0 panZoomContext;