ジャンプ先: 概要. 戻り値. フラグ. 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
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// 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";