移動先: 概要 戻り値 フラグ. Python 例.
latticeDeformKeyCtx(
contextName
, [envelope=float], [exists=boolean], [history=boolean], [image1=string], [image2=string], [image3=string], [latticeColumns=uint], [latticeRows=uint], [name=string], [scaleLatticePts=boolean])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
latticeDeformKeyCtx は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
このコマンドは、ラティス マニピュレータでキーフレームを変形するために使用できるコンテキストを作成します。このコンテキストは、グラフ エディタ(Graph Editor)のみで動作します。
戻り値の型は照会モードでは照会フラグが基になります。
envelope, exists, history, image1, image2, image3, latticeColumns, latticeRows, name, scaleLatticePts
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
import maya.cmds as cmds
# Create a lattice manipulator with 4 x 4 lattice.
#
cmds.latticeDeformKeyCtx( 'latticeContex', latticeColumns=4, latticeRows=4 )