ジャンプ先: 概要. 戻り値. キーワード. フラグ. MEL 例.
copyDeformerWeights [-destinationDeformer string] [-destinationShape string] [-mirrorInverse] [-mirrorMode string] [-noMirror] [-smooth] [-sourceDeformer string] [-sourceShape string] [-surfaceAssociation string] [-uvSpace string string]
copyDeformerWeights は、取り消し可能、照会可能、および編集可能です。
デフォーマ ウェイトを XYZ 軸の 1 軸の反対側にコピーまたはミラーするコマンドです。このコマンドを使用して、サーフェスから別のサーフェスへ、または同じサーフェス内で、ウェイトをミラーすることができます。
なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
deformer, duplicate, mirror
destinationDeformer, destinationShape, mirrorInverse, mirrorMode, noMirror, smooth, sourceDeformer, sourceShape, surfaceAssociation, uvSpace
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Create plane and a cluster.
//
file -f -new;
polyPlane -w 10 -h 10 -sx 5 -sy 5 -ax 0 1 0 -ch 1;
cluster -n "testCluster" pPlane1;
// Modify some weights on the -x side of the character
//
select pPlane1.vtx[0] pPlane1.vtx[6] pPlane1.vtx[12] pPlane1.vtx[18];
percent -v 0.5 testCluster;
// Mirror the skin weights to the other side of the character
// Mirror inverse is chosen since we want to go from -x to +x, not +x to -x.
//
copyDeformerWeights -ss pPlane1 -ds pPlane1 -sd testCluster -mirrorMode YZ -mirrorInverse;
select pPlane1.vtx[5] pPlane1.vtx[11] pPlane1.vtx[17] pPlane1.vtx[23];
percent -q -v testCluster;