ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. MEL 例.

概要

polyMultiLayoutUV [-flipReversed boolean] [-gridU int] [-gridV int] [-layout int] [-layoutMethod int] [-offsetU float] [-offsetV float] [-percentageSpace float] [-prescale int] [-rotateForBestFit int] [-scale int] [-sizeU float] [-sizeV float] [-uvSetName string]

polyMultiLayoutUV は、取り消し可能、照会不可能、および編集不可能です。

選択したポリゴン オブジェクトの UV を、オーバーラップしないように配置します。

戻り値

なし

キーワード

poly, uv, map, placement

関連

polyClipboard, polyCylindricalProjection, polyEditUV, polyForceUV, polyMapCut, polyMapDel, polyMapSew, polyMoveFacetUV, polyMoveUV, polyPlanarProjection, polyProjection, polySphericalProjection, polyUVSet

フラグ

flipReversed, gridU, gridV, layout, layoutMethod, offsetU, offsetV, percentageSpace, prescale, rotateForBestFit, scale, sizeU, sizeV, uvSetName
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-flipReversed(-fr) boolean create
このフラグをオンにすると、反転した UV ピースが反転します。
-gridU(-gu) int create
グリッドの U サイズです。
-gridV(-gv) int create
グリッドの V サイズです。
-layout(-l) int create
カット適用後に UV のピースを移動する方法を指定します。
0: 移動は適用されません。
1: ピースを U 軸に沿ってレイアウトします。
2: ピースを四角形にレイアウトします。
3: ピースをグリッドにレイアウトします。
4: ピースを最も近い領域にレイアウトします。
-layoutMethod(-lm) int create
// -lm/layoutMethod layoutMethod 整数 // (C、E、Q)使用するレイアウト方法を指定します。//
0: ブロック スタッキング//
1: シェイプ スタッキング
-offsetU(-ou) float create
レイアウトを U 方向に、指定した値でオフセットします。
-offsetV(-ov) float create
レイアウトを V 方向に、指定した値でオフセットします。
-percentageSpace(-ps) float create
レイアウトを正方形に設定した場合、この値は各 UV ピースの周りに追加されるテクスチャ領域のパーセンテージです。このコマンドを使用して、テクスチャ内の各 UV ピースがそれぞれ個別のピクセルを使用することを確認できます。
最大値は 5% です。
-prescale(-psc) int create
シェルをレイアウトする前に、あらかじめスケールします。
0: スケールは適用されません。
1 オブジェクト空間のスケールが適用されます。
2 ワールド空間のスケールが適用されます。
-rotateForBestFit(-rbf) int create
移動前にピースを回転する方法を指定します。
0: 回転は適用されません。
1: 90°回転のみを可能にします。
2: 自由回転を可能にします。
-scale(-sc) int create
移動後にピースをスケールする方法を指定します。
0: スケールは適用されません。
1: 単位正方形に合わせて均一にスケールします。
2: 単位正方形に合わせて非比例にスケールします。
-sizeU(-su) float create
レイアウトを U 方向に、指定した値でスケールします。
-sizeV(-sv) float create
レイアウトを V 方向に、指定した値でスケールします。
-uvSetName(-uvs) string create
UV を編集する UV セット名を指定します。指定しない場合、現在の UV セットが存在すればそれを使用します。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます コマンド内でフラグを複数回使用できます。

MEL 例


// Create 3 objects with overlapping UVs
string $sphere[] = `polySphere`;
string $cylinder[] = `polyCylinder`;
string $torus[] = `polyTorus`;

polyAutoProjection -ibd 1 -cm 0 -l 2 -sc 1 -o 1 -p 4 -ps 0.2 $sphere[0];
polyAutoProjection -ibd 1 -cm 0 -l 2 -sc 1 -o 1 -p 4 -ps 0.2 $cylinder[0];
polyAutoProjection -ibd 1 -cm 0 -l 2 -sc 1 -o 1 -p 4 -ps 0.2 $torus[0];

select $sphere[0] $cylinder[0] $torus[0];

// Layout the UVs in a square, allow free rotations, scale uniformly
polyMultiLayoutUV -scale 1 -rotateForBestFit 2 -layout 2;