textureWindow [-activeSelectionOnTop boolean] [-axesColor float float float] [-backFacingColor float float float float] [-capture string] [-captureSequenceNumber int] [-changeCommand string string string string] [-checkerColor1 float float float] [-checkerColor2 float float float] [-checkerColorMode int] [-checkerDensity int] [-checkerDrawTileLabels boolean] [-checkerGradient1 float float float] [-checkerGradient2 float float float] [-checkerGradientOverlay boolean] [-checkerTileLabelColor float float float] [-clearImage] [-cmEnabled boolean] [-control] [-defineTemplate string] [-displayAxes boolean] [-displayCheckered boolean] [-displayDistortion boolean] [-displayDivisionLines boolean] [-displayGridLines boolean] [-displayImage int] [-displayIsolateSelectHUD boolean] [-displayLabels boolean] [-displayOverlappingUVCountHUD boolean] [-displayPreselection boolean] [-displayReversedUVCountHUD boolean] [-displaySolidMap boolean] [-displayStyle string] [-displayTextureBorder boolean] [-displayUVPositionHUD boolean] [-displayUVShellCountHUD boolean] [-displayUVStatisticsHUD boolean] [-displayUsedPercentageHUD boolean] [-distortionAlpha float] [-distortionPerObject boolean] [-divisions int] [-docTag string] [-doubleBuffer] [-drawAxis boolean] [-drawSubregions boolean] [-exists] [-exposure float] [-filter string] [-forceMainConnection string] [-forceRebake boolean] [-frameAll] [-frameSelected] [-frontFacingColor float float float float] [-gamma float] [-gridLinesColor float float float] [-gridNumbersColor float float float] [-highlightConnection string] [-imageBaseColor float float float] [-imageDim boolean] [-imageDisplay boolean] [-imageNames] [-imageNumber int] [-imagePixelSnap boolean] [-imageRatio boolean] [-imageRatioValue float] [-imageSize] [-imageTileRange float float float float] [-imageUnfiltered boolean] [-internalFaces boolean] [-labelPosition string] [-loadImage string] [-lockMainConnection] [-mainListConnection string] [-maxResolution int] [-multiColorAlpha float] [-nbImages] [-nextView] [-numUvSets] [-numberOfImages int] [-numberOfTextures int] [-panel string] [-parent string] [-previousView] [-realSize] [-refresh] [-relatedFaces boolean] [-removeAllImages] [-removeImage] [-rendererString string] [-reset] [-saveImage] [-scaleBlue float] [-scaleGreen float] [-scaleRed float] [-selectInternalFaces] [-selectRelatedFaces] [-selectionConnection string] [-setUvSet int] [-singleBuffer] [-size float] [-solidMap3dView boolean] [-solidMapColorSeed int] [-solidMapPerShell boolean] [-spacing float] [-stateString] [-style int] [-subdivisionLinesColor float float float] [-textureBorder3dView boolean] [-textureBorderColor float float float] [-textureBorderWidth int] [-textureNames] [-textureNumber int] [-tileLabels boolean] [-tileLinesColor float float float] [-toggle boolean] [-toggleExposure] [-toggleGamma] [-unParent] [-unlockMainConnection] [-updateMainConnection] [-useFaceGroup boolean] [-useTemplate string] [-usedPercentageHUDRange float float float float] [-uvSets] [-viewPortImage boolean] [-viewTransformName string] [-wireframeComponentColor float float float float] [-wireframeObjectColor float float float float] [-writeImage string]
string
textureWindow は、取り消し可能、照会可能、および編集可能です。
このコマンドは、UV エディタの作成およびテクスチャ エディタの設定の照会および編集に使用されます。 UV エディタは、2D テクスチャ空間内に、テクスチャ マップされたポリゴン オブジェクトを表示します。このウィンドウでは、アクティブになっているオブジェクトのみが可視となります。 UV エディタは 2 種類のイメージを表示できます。テクスチャ イメージは、現在のテクスチャとコネクトされた配置パラメータを視覚化したものです。エディタ イメージは、ディスクからロードされたユーザ指定のイメージです。 UV エディタは、Maya ウィンドウの上部にある Maya メイン メニュー リストから、ウィンドウ > UV テクスチャ エディタ...(Windows > UV Texture Editor...)を選択すると呼び出されます。または、ビューの右上に表示されるパネル(Panels)メニュー項目から、パネル > UV エディタ(Panel > UV Editor)項目を選択して呼び出すこともできます。 UV エディタは通常はスタートアップ時に存在し、一度に表示できるのは 1 つのエディタだけです。このコマンドは通常、エディタの設定を照会および編集するときに使用されます。| string | テクスチャ ウィンドウの名前 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-activeSelectionOnTop(-ast)
|
boolean
|
|
||
|
||||
-axesColor(-axc)
|
float float float
|
|
||
|
||||
-backFacingColor(-bfc)
|
float float float float
|
|
||
|
||||
-capture(-cpt)
|
string
|
|
||
|
||||
-captureSequenceNumber(-csn)
|
int
|
|
||
|
||||
-changeCommand(-cc)
|
string string string string
|
|
||
|
||||
-checkerColor1(-cc1)
|
float float float
|
|
||
|
||||
-checkerColor2(-cc2)
|
float float float
|
|
||
|
||||
-checkerColorMode(-ccm)
|
int
|
|
||
|
||||
-checkerDensity(-cd)
|
int
|
|
||
|
||||
-checkerDrawTileLabels(-cdt)
|
boolean
|
|
||
|
||||
-checkerGradient1(-cg1)
|
float float float
|
|
||
|
||||
-checkerGradient2(-cg2)
|
float float float
|
|
||
|
||||
-checkerGradientOverlay(-cgo)
|
boolean
|
|
||
|
||||
-checkerTileLabelColor(-ctc)
|
float float float
|
|
||
|
||||
-clearImage(-ci)
|
|
|
||
|
||||
-cmEnabled(-cme)
|
boolean
|
|
||
|
||||
-control(-ctl)
|
|
|
||
|
||||
-defineTemplate(-dt)
|
string
|
|
||
|
||||
-displayAxes(-dax)
|
boolean
|
|
||
|
||||
-displayCheckered(-dct)
|
boolean
|
|
||
|
||||
-displayDistortion(-ddt)
|
boolean
|
|
||
|
||||
-displayDivisionLines(-ddl)
|
boolean
|
|
||
|
||||
-displayGridLines(-dgl)
|
boolean
|
|
||
|
||||
-displayImage(-di)
|
int
|
|
||
|
||||
-displayIsolateSelectHUD(-dih)
|
boolean
|
|
||
|
||||
-displayLabels(-dl)
|
boolean
|
|
||
|
||||
-displayOverlappingUVCountHUD(-doh)
|
boolean
|
|
||
|
||||
-displayPreselection(-dps)
|
boolean
|
|
||
|
||||
-displayReversedUVCountHUD(-drh)
|
boolean
|
|
||
|
||||
-displaySolidMap(-dsm)
|
boolean
|
|
||
|
||||
-displayStyle(-dst)
|
string
|
|
||
|
||||
-displayTextureBorder(-dtb)
|
boolean
|
|
||
|
||||
-displayUVPositionHUD(-duv)
|
boolean
|
|
||
|
||||
-displayUVShellCountHUD(-dsh)
|
boolean
|
|
||
|
||||
-displayUVStatisticsHUD(-duh)
|
boolean
|
|
||
|
||||
-displayUsedPercentageHUD(-dph)
|
boolean
|
|
||
|
||||
-distortionAlpha(-dta)
|
float
|
|
||
|
||||
-distortionPerObject(-dpo)
|
boolean
|
|
||
|
||||
-divisions(-d)
|
int
|
|
||
|
||||
-docTag(-dtg)
|
string
|
|
||
|
||||
-doubleBuffer(-dbf)
|
|
|
||
|
||||
-drawAxis(-da)
|
boolean
|
|
||
|
||||
-drawSubregions(-dsr)
|
boolean
|
|
||
|
||||
-exists(-ex)
|
|
|
||
|
||||
-exposure(-exp)
|
float
|
|
||
|
||||
-filter(-f)
|
string
|
|
||
|
||||
-forceMainConnection(-fmc)
|
string
|
|
||
|
||||
-forceRebake(-frb)
|
boolean
|
|
||
|
||||
-frameAll(-fa)
|
|
|
||
|
||||
-frameSelected(-fs)
|
|
|
||
|
||||
-frontFacingColor(-ffc)
|
float float float float
|
|
||
|
||||
-gamma(-ga)
|
float
|
|
||
|
||||
-gridLinesColor(-glc)
|
float float float
|
|
||
|
||||
-gridNumbersColor(-gnc)
|
float float float
|
|
||
|
||||
-highlightConnection(-hlc)
|
string
|
|
||
|
||||
-imageBaseColor(-ibc)
|
float float float
|
|
||
|
||||
-imageDim(-idm)
|
boolean
|
|
||
|
||||
-imageDisplay(-id)
|
boolean
|
|
||
|
||||
-imageNames(-imn)
|
|
|
||
|
||||
-imageNumber(-in)
|
int
|
|
||
|
||||
-imagePixelSnap(-ip)
|
boolean
|
|
||
|
||||
-imageRatio(-imr)
|
boolean
|
|
||
|
||||
-imageRatioValue(-irv)
|
float
|
|
||
|
||||
-imageSize(-is)
|
|
|
||
|
||||
-imageTileRange(-itr)
|
float float float float
|
|
||
|
||||
-imageUnfiltered(-iuf)
|
boolean
|
|
||
|
||||
-internalFaces(-if)
|
boolean
|
|
||
|
||||
-labelPosition(-lp)
|
string
|
|
||
|
||||
-loadImage(-li)
|
string
|
|
||
|
||||
-lockMainConnection(-lck)
|
|
|
||
|
||||
-mainListConnection(-mlc)
|
string
|
|
||
|
||||
-maxResolution(-mrs)
|
int
|
|
||
|
||||
-multiColorAlpha(-mca)
|
float
|
|
||
|
||||
-nbImages(-nim)
|
|
|
||
|
||||
-nextView(-nv)
|
|
|
||
|
||||
-numUvSets(-nuv)
|
|
|
||
|
||||
-numberOfImages(-ni)
|
int
|
|
||
|
||||
-numberOfTextures(-nt)
|
int
|
|
||
|
||||
-panel(-pnl)
|
string
|
|
||
|
||||
-parent(-p)
|
string
|
|
||
|
||||
-previousView(-pv)
|
|
|
||
|
||||
-realSize(-rs)
|
|
|
||
|
||||
-refresh(-ref)
|
|
|
||
|
||||
-relatedFaces(-rf)
|
boolean
|
|
||
|
||||
-removeAllImages(-ra)
|
|
|
||
|
||||
-removeImage(-ri)
|
|
|
||
|
||||
-rendererString(-rds)
|
string
|
|
||
|
||||
-reset(-r)
|
|
|
||
|
||||
-saveImage(-si)
|
|
|
||
|
||||
-scaleBlue(-sb)
|
float
|
|
||
|
||||
-scaleGreen(-sg)
|
float
|
|
||
|
||||
-scaleRed(-sr)
|
float
|
|
||
|
||||
-selectInternalFaces(-sif)
|
|
|
||
|
||||
-selectRelatedFaces(-srf)
|
|
|
||
|
||||
-selectionConnection(-slc)
|
string
|
|
||
|
||||
-setUvSet(-suv)
|
int
|
|
||
|
||||
-singleBuffer(-sbf)
|
|
|
||
|
||||
-size(-s)
|
float
|
|
||
|
||||
-solidMap3dView(-s3d)
|
boolean
|
|
||
|
||||
-solidMapColorSeed(-scs)
|
int
|
|
||
|
||||
-solidMapPerShell(-sps)
|
boolean
|
|
||
|
||||
-spacing(-sp)
|
float
|
|
||
|
||||
-stateString(-sts)
|
|
|
||
|
||||
-style(-st)
|
int
|
|
||
|
||||
-subdivisionLinesColor(-sdc)
|
float float float
|
|
||
|
||||
-textureBorder3dView(-t3d)
|
boolean
|
|
||
|
||||
-textureBorderColor(-tbc)
|
float float float
|
|
||
|
||||
-textureBorderWidth(-tbw)
|
int
|
|
||
|
||||
-textureNames(-txn)
|
|
|
||
|
||||
-textureNumber(-tn)
|
int
|
|
||
|
||||
-tileLabels(-tlb)
|
boolean
|
|
||
|
||||
-tileLinesColor(-tlc)
|
float float float
|
|
||
|
||||
-toggle(-tgl)
|
boolean
|
|
||
|
||||
-toggleExposure(-tge)
|
|
|
||
|
||||
-toggleGamma(-tgg)
|
|
|
||
|
||||
-unParent(-up)
|
|
|
||
|
||||
-unlockMainConnection(-ulk)
|
|
|
||
|
||||
-updateMainConnection(-upd)
|
|
|
||
|
||||
-useFaceGroup(-uf)
|
boolean
|
|
||
|
||||
-useTemplate(-ut)
|
string
|
|
||
|
||||
-usedPercentageHUDRange(-upr)
|
float float float float
|
|
||
|
||||
-uvSets(-uvs)
|
|
|
||
|
||||
-viewPortImage(-vpi)
|
boolean
|
|
||
|
||||
-viewTransformName(-vtn)
|
string
|
|
||
|
||||
-wireframeComponentColor(-wcc)
|
float float float float
|
|
||
|
||||
-wireframeObjectColor(-woc)
|
float float float float
|
|
||
|
||||
-writeImage(-wi)
|
string
|
|
||
|
||||
// As a UV 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];