ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
pairBlend([attribute=string], [input1=boolean], [input2=boolean], [node=string])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
pairBlend は、取り消し可能、照会可能、および編集可能です。
pairBlend ノードは、2 つの入力のウェイト付けされた組み合わせをブレンドすることができます。既に接続されているアトリビュートをキー設定またはコンストレイントするときに、自動的に作成されます。
あるいは pairBlend コマンドを使用して、pairBlend ノードを別のノードの接続されたアトリビュートに接続できます。既に存在する接続は pairBlend ノードの入力 1 (Input 1)に再接続されます。さらに追加の接続を pairBlend ノードの入力 2 (Input 2)に手動で作成できます。
pairBlend コマンドを使用して、既存の pairBlend ノードへの入力を照会することもできます。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
blend, animation, constraints
orientConstraint, parentConstraint, pointConstraint, setKeyframe
attribute, input1, input2, node
| ロング ネーム(ショート ネーム) |
引数タイプ |
プロパティ |
attribute(at)
|
string
|

|
|
ブレンドがドライブするアトリビュートの名前。このフラグは、ブレンドの作成時に必要です。
|
|
input1(i1)
|
boolean
|
|
|
入力 1 (Input 1)に接続されているノードの文字配列を返します。
|
|
input2(i2)
|
boolean
|
|
|
入力 2 (Input 2)に接続されているノードの文字配列を返します。
|
|
node(nd)
|
string
|
|
|
ブレンドがドライブするノードの名前。このフラグは、ブレンドの作成時に必要です。
|
|
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# Create a pairBlend node and connect sphere1's tx and ty to the pairBlend's input1
cmds.nurbsSphere(n='sphere1')
cmds.pairBlend( nd='sphere1', at=['tx','ty'] )
# Query the nodes connected to input1.
#
inputs = cmds.pairBlend('pairBlend1' ,query=True, input1=True)