移動先: 概要 戻り値 フラグ. MEL 例.
scaleKeyCtx [-exists] [-history boolean] [-image1 string] [-image2 string] [-image3 string] [-name string] [-scaleSpecifiedKeys boolean] [-type string]
contextName
scaleKeyCtx は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
このコマンドは、グラフ エディタ(Graph Editor)内でキーフレームをスケールするために使用するコンテキストを作成します。
戻り値の型は照会モードでは照会フラグが基になります。
exists, history, image1, image2, image3, name, scaleSpecifiedKeys, type
ロング ネーム(ショート ネーム) |
引数型 |
プロパティ |
-exists(-ex)
|
|
|
|
指定したオブジェクトが存在するかどうかによって、true または false を返します。他のフラグは無視されます。
|
|
-image1(-i1)
|
string
|
 
|
|
-image2(-i2)
|
string
|
 
|
|
-image3(-i3)
|
string
|
 
|
|
コンテキストは、コンテキストに関連付けられている
ツールを表すアイコンを 3 つまでサポートします。
|
|
-history(-ch)
|
boolean
|
|
|
ツール コマンドの場合、対象となるツールの
コンストラクション ヒストリをオンにします。
|
|
-name(-n)
|
string
|
|
|
これがツール コマンドの場合、ツールに適切に名前を付けます。
|
|
-type(-typ)
|
string
|

|
|
rect | manip
使用するスケール マニピュレータのタイプを指定します(注: 「rect」はマニピュレータ スタイルのコンテキストで、「manip」はジェスチャ スタイルのコンテキストです)。
|
|
-scaleSpecifiedKeys(-ssk)
|
boolean
|

|
|
指定したキーだけを調整する必要があるかどうかを確認します。false の場合、選択したキー以外のキーがスケール時に調整されます。デフォルトは true です。
|
|
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// Create a manipulator style scale key context for the graph editor
//
scaleKeyCtx -type rect scaleKeyContext;