ジャンプ先: 概要. 戻り値. フラグ. Python 例.
panZoomCtx([alternateContext=boolean], [buttonDown=boolean], [buttonUp=boolean], [exists=boolean], [history=boolean], [image1=string], [image2=string], [image3=string], [name=string], [panMode=boolean], [toolName=string], [zoomMode=boolean], [zoomScale=float])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
panZoomCtx は、取り消し可能、照会可能、および編集可能です。
このコマンドを使用して、カメラの 2D パン/ズーム コンテキストを作成します。| string | コンテキストの名前 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
alternateContext(ac)
|
boolean
|
|
||
|
||||
buttonDown(btd)
|
boolean
|
|
||
|
||||
buttonUp(btu)
|
boolean
|
|
||
|
||||
exists(ex)
|
boolean
|
|
||
|
||||
history(ch)
|
boolean
|
|
||
|
||||
image1(i1)
|
string
|
|
||
|
||||
image2(i2)
|
string
|
|
||
|
||||
image3(i3)
|
string
|
|
||
|
||||
name(n)
|
string
|
|
||
|
||||
panMode(pm)
|
boolean
|
|
||
|
||||
toolName(tn)
|
string
|
|
||
|
||||
zoomMode(zm)
|
boolean
|
|
||
|
||||
zoomScale(zs)
|
float
|
|
||
|
||||
import maya.cmds as cmds cmds.panZoomCtx( 'panZoomContext', zs=1.0 )