ジャンプ先: 概要. 戻り値. フラグ. Python 例.
polyNormalizeUV([caching=boolean], [centerOnTile=boolean], [constructionHistory=boolean], [createNewMap=boolean], [insertBeforeDeformers=boolean], [name=string], [nodeState=int], [normalizeDirection=int], [normalizeType=int], [preserveAspectRatio=boolean], [uvSetName=string], [worldSpace=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyNormalizeUV は、取り消し可能、照会可能、および編集可能です。
入力ポリフェースの UV を正規化します。フェースの既存 UV は、0 から 1 の間で正規化されます。| string | ノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Flags from nodes | ||||||||||||
centerOnTile(cot)
|
boolean
|
|
||||||||||
|
||||||||||||
normalizeDirection(nd)
|
int
|
|
||||||||||
|
||||||||||||
normalizeType(nt)
|
int
|
|
||||||||||
|
||||||||||||
preserveAspectRatio(pa)
|
boolean
|
|
||||||||||
|
||||||||||||
| Common poly modifier operation flags | ||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
createNewMap(cm)
|
boolean
|
|
||||||||||
|
||||||||||||
insertBeforeDeformers(ibd)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
uvSetName(uvs)
|
string
|
|
||||||||||
|
||||||||||||
worldSpace(ws)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds
# Create a poly sphere with default UVs.
cmds.polySphere( n='sph' )
# rescale it
cmds.polyEditUV('sph.map[*]', pu=0.5, pv=0.5, su=1.5, sv=1.5)
# normalize the UV values of all the faces
cmds.polyNormalizeUV( 'sph.f[*]' )