polyCollapseTweaks [-hasVertexTweaks]
polyCollapseTweaks は、取り消し可能、照会可能、および編集不可能です。
それぞれの頂点データに微調整データ(メッシュ ノードに格納)を適用して、メッシュの頂点の微調整を更新するコマンドです。 このコマンドは、コンストラクション ヒストリがシェイプ ノードに関連付けられている場合のみ有効です。 メッシュの名前を入力として指定しないと、単独で選択されたメッシュがある場合は、このメッシュの微調整された頂点がベイク処理されます。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-hasVertexTweaks(-hvt)
|
|
![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Create a plane. polyPlane -sx 10 -sy 10 -h 20 -w 20 -ch 0; // Query the existence of vertex tweaks for pPlane1 polyCollapseTweaks -q -hvt "pPlane1"; // Result: 0 // Move a vertex. select -r "pPlane1.vtx[8]"; move -r 10 20 30; // Query vertex tweaks for vertex id 8 getAttr "pPlane1.vtx[8]"; // Result: 10 20 30 // Query the existence of vertex tweaks for pPlane1 polyCollapseTweaks -q -hvt "pPlane1"; // Result: 1 // Bake all vertex tweaks into their respective vertices. polyCollapseTweaks "pPlane1"; // Query vertex tweaks for vertex id 8 getAttr "pPlane1.vtx[8]"; // Result: 0 0 0 // Query the existence of vertex tweaks for pPlane1 polyCollapseTweaks -q -hvt "pPlane1"; // Result: 0