textureWindow [-changeCommand string string string string] [-clearImage] [-control] [-defineTemplate string] [-displayAxes boolean] [-displayCheckered boolean] [-displayDistortion boolean] [-displayDivisionLines boolean] [-displayGridLines boolean] [-displayImage int] [-displayLabels boolean] [-displaySolidMap boolean] [-displayStyle string] [-divisions int] [-docTag string] [-doubleBuffer] [-exists] [-filter string] [-forceMainConnection string] [-forceRebake boolean] [-frameAll] [-frameSelected] [-highlightConnection string] [-imageBaseColor float float float] [-imageDisplay boolean] [-imageNames] [-imageNumber int] [-imagePixelSnap boolean] [-imageRatio boolean] [-imageSize] [-imageTileRange float float float float] [-imageUnfiltered boolean] [-internalFaces boolean] [-labelPosition string] [-loadImage string] [-lockMainConnection] [-mainListConnection string] [-maxResolution int] [-nbImages] [-numUvSets] [-numberOfImages int] [-panel string] [-parent string] [-realSize] [-refresh] [-relatedFaces boolean] [-removeAllImages] [-removeImage] [-reset] [-saveImage] [-scaleBlue float] [-scaleGreen float] [-scaleRed float] [-selectInternalFaces] [-selectRelatedFaces] [-selectionConnection string] [-setUvSet int] [-singleBuffer] [-size float] [-spacing float] [-stateString] [-style int] [-tileLabels boolean] [-toggle boolean] [-unParent] [-unlockMainConnection] [-updateMainConnection] [-useFaceGroup boolean] [-useTemplate string] [-uvSets] [-viewPortImage boolean] [-writeImage string]
string
textureWindow は、取り消し可能、照会可能、および編集可能です。
このコマンドは、UV テクスチャ エディタ(UV Texture Editor)の作成およびテクスチャ エディタの設定の照会および編集に使用されます。 UV テクスチャ エディタは、2D テクスチャ スペース内に、テクスチャ マップされたポリゴン オブジェクトを表示します。このウィンドウでは、アクティブになっているオブジェクトのみが可視となります。 UV テクスチャ エディタは 2 種類のイメージを表示できます。テクスチャ イメージは、現在のテクスチャとコネクトされた配置パラメータを視覚化したものです。エディタ イメージは、ディスクからロードされたユーザ指定のイメージです。 UV テクスチャ エディタは、Maya ウィンドウの上部にある Maya メイン メニュー リストから、ウィンドウ > UV テクスチャ エディタ...(Windows > UV Texture Editor...)を選択すると呼び出されます。または、ビューの右上に表示されるパネル(Panels)メニューから、パネル > UV テクスチャ エディタ(Panel > UV Texture Editor)項目を選択して呼び出すこともできます。 UV テクスチャ エディタは通常はスタートアップ時に存在し、一度に表示できるのは 1 つのエディタだけです。このコマンドは通常、エディタの設定を照会および編集するときに使用されます。| string | テクスチャ ウィンドウの名前 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-exists(-ex)
|
|
|
||
|
||||
-defineTemplate(-dt)
|
string
|
|
||
|
||||
-useTemplate(-ut)
|
string
|
|
||
|
||||
-panel(-pnl)
|
string
|
|
||
|
||||
-parent(-p)
|
string
|
|
||
|
||||
-unParent(-up)
|
|
|
||
|
||||
-control(-ctl)
|
|
|
||
|
||||
-mainListConnection(-mlc)
|
string
|
|
||
|
||||
-forceMainConnection(-fmc)
|
string
|
|
||
|
||||
-selectionConnection(-slc)
|
string
|
|
||
|
||||
-highlightConnection(-hlc)
|
string
|
|
||
|
||||
-filter(-f)
|
string
|
|
||
|
||||
-lockMainConnection(-lck)
|
|
|
||
|
||||
-stateString(-sts)
|
|
|
||
|
||||
-unlockMainConnection(-ulk)
|
|
|
||
|
||||
-updateMainConnection(-upd)
|
|
|
||
|
||||
-docTag(-dtg)
|
string
|
|
||
|
||||
-scaleRed(-sr)
|
float
|
|
||
|
||||
-scaleGreen(-sg)
|
float
|
|
||
|
||||
-scaleBlue(-sb)
|
float
|
|
||
|
||||
-singleBuffer(-sbf)
|
|
|
||
|
||||
-doubleBuffer(-dbf)
|
|
|
||
|
||||
-changeCommand(-cc)
|
string string string string
|
|
||
|
||||
-displayImage(-di)
|
int
|
|
||
|
||||
-loadImage(-li)
|
string
|
|
||
|
||||
-writeImage(-wi)
|
string
|
|
||
|
||||
-displayStyle(-dst)
|
string
|
|
||
|
||||
-removeImage(-ri)
|
|
|
||
|
||||
-removeAllImages(-ra)
|
|
|
||
|
||||
-saveImage(-si)
|
|
|
||
|
||||
-nbImages(-nim)
|
|
|
||
|
||||
-refresh(-ref)
|
|
|
||
|
||||
-toggle(-tgl)
|
boolean
|
|
||
|
||||
-tileLabels(-tlb)
|
boolean
|
|
||
|
||||
-reset(-r)
|
|
|
||
|
||||
-spacing(-sp)
|
float
|
|
||
|
||||
-size(-s)
|
float
|
|
||
|
||||
-divisions(-d)
|
int
|
|
||
|
||||
-clearImage(-ci)
|
|
|
||
|
||||
-numberOfImages(-ni)
|
int
|
|
||
|
||||
-imageDisplay(-id)
|
boolean
|
|
||
|
||||
-imageNumber(-in)
|
int
|
|
||
|
||||
-imageNames(-imn)
|
|
|
||
|
||||
-imageRatio(-imr)
|
boolean
|
|
||
|
||||
-imageTileRange(-itr)
|
float float float float
|
|
||
|
||||
-imageUnfiltered(-iuf)
|
boolean
|
|
||
|
||||
-imagePixelSnap(-ip)
|
boolean
|
|
||
|
||||
-imageSize(-is)
|
|
|
||
|
||||
-displayAxes(-dax)
|
boolean
|
|
||
|
||||
-displayGridLines(-dgl)
|
boolean
|
|
||
|
||||
-displayDivisionLines(-ddl)
|
boolean
|
|
||
|
||||
-displayLabels(-dl)
|
boolean
|
|
||
|
||||
-labelPosition(-lp)
|
string
|
|
||
|
||||
-style(-st)
|
int
|
|
||
|
||||
-internalFaces(-if)
|
boolean
|
|
||
|
||||
-relatedFaces(-rf)
|
boolean
|
|
||
|
||||
-useFaceGroup(-uf)
|
boolean
|
|
||
|
||||
-selectInternalFaces(-sif)
|
|
|
||
|
||||
-selectRelatedFaces(-srf)
|
|
|
||
|
||||
-frameAll(-fa)
|
|
|
||
|
||||
-frameSelected(-fs)
|
|
|
||
|
||||
-realSize(-rs)
|
|
|
||
|
||||
-uvSets(-uvs)
|
|
|
||
|
||||
-numUvSets(-nuv)
|
|
|
||
|
||||
-setUvSet(-suv)
|
int
|
|
||
|
||||
-maxResolution(-mrs)
|
int
|
|
||
|
||||
-forceRebake(-frb)
|
boolean
|
|
||
|
||||
-viewPortImage(-vpi)
|
boolean
|
|
||
|
||||
-imageBaseColor(-ibc)
|
float float float
|
|
||
|
||||
-displaySolidMap(-dsm)
|
boolean
|
|
||
|
||||
-displayCheckered(-dct)
|
boolean
|
|
||
|
||||
-displayDistortion(-ddt)
|
boolean
|
|
||
|
||||
// As a UV Texture Editor typically exists on start-up, you normally // will not need to create one.. Hence all the examples that follow // explain how to query and edit the editor settings. // Get the panel that the editor belongs to. string $texWinName[] = `getPanel -sty polyTexturePlacementPanel`; // Get the space between main grid lines textureWindow -q -sp $texWinName[0]; // Result: 0.05 // // Change the space between main grid lines textureWindow -e -sp 0.1 $texWinName[0]; // Get the size of the grid textureWindow -q -s $texWinName[0]; // Result: 12 // // Change the size of the grid textureWindow -e -s 0.8 $texWinName[0]; // Zoom on the whole scene textureWindow -e -fa $texWinName[0]; // Set display mode to related (connected) faces textureWindow -e -rf $texWinName[0];