移動先: 概要 戻り値 フラグ. MEL 例.
psdEditTextureFile [-addChannel string] [-addChannelColor string float float float] [-addChannelImage string string] [-deleteChannel string] [-psdFileName string] [-snapShotImage string] [-uvSnapPostionTop boolean]
psdEditTextureFile は 「元に戻す」が可能、「照会」が不可能、「編集」が不可能 です。
既存の PSD ファイルを編集します。チャンネル(レイヤ セット)の追加と削除がサポートされています。
なし
addChannel, addChannelColor, addChannelImage, deleteChannel, psdFileName, snapShotImage, uvSnapPostionTop
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// Create a Photoshop file with an image layer from a disk image file
psdTextureFile -xr 512 -yr 512 -ifn "C:\\tex.jpg" layerSet1 1 -psf "C:\\final.psd";
// // Saved file: C:\final.psd //
// Create a poly plane
polyPlane -w 10 -h 10 -sx 10 -sy 10 -n pPlane1;
select pPlane1;
// Create a snapshot file containing the UVs of pPlane1
uvSnapshot -n "C:\\uvSnapshot.iff" -xr 512 -yr 512 -o;
// // Saved file: C:\uvSnapshot.iff //
// Edit the "final.psd" file which we have created, add a UV snapshot layer from snapshot file and an image layer from disk image file
psdEditTextureFile -aci layerSet2 "C:\\tex1.jpg" -ssi "C:\\uvSnapshot.iff" -uvt 1 -psf "C:\\final.psd";