ジャンプ先: 概要. 戻り値. フラグ. Python 例.
polyOptUvs(
selectionList
, [applyToShell=boolean], [areaWeight=float], [caching=boolean], [constructionHistory=boolean], [globalBlend=float], [globalMethodBlend=float], [iterations=int], [name=string], [nodeState=int], [optimizeAxis=int], [pinSelected=boolean], [pinUvBorder=boolean], [scale=float], [stoppingThreshold=float], [useScale=boolean], [uvSetName=string], [worldSpace=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyOptUvs は、取り消し可能、照会可能、および編集可能です。
選択した UV を最適化します。| string | ノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly modifier operation flags | ||||||||||||
applyToShell(applyToShell)
|
boolean
|
|
||||||||||
|
||||||||||||
areaWeight(aw)
|
float
|
|
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
globalBlend(gb)
|
float
|
|
||||||||||
|
||||||||||||
globalMethodBlend(gmb)
|
float
|
|
||||||||||
|
||||||||||||
iterations(i)
|
int
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
optimizeAxis(oa)
|
int
|
|
||||||||||
|
||||||||||||
pinSelected(ps)
|
boolean
|
|
||||||||||
|
||||||||||||
pinUvBorder(pub)
|
boolean
|
|
||||||||||
|
||||||||||||
scale(s)
|
float
|
|
||||||||||
|
||||||||||||
stoppingThreshold(ss)
|
float
|
|
||||||||||
|
||||||||||||
useScale(us)
|
boolean
|
|
||||||||||
|
||||||||||||
uvSetName(uvs)
|
string
|
|
||||||||||
|
||||||||||||
worldSpace(ws)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Create a sphere and select it. cmds.polySphere() # Optimise the position of some Uvs cmds.polyOptUvs( 'pSphere1.map[189:398]' )