ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyCopyUV(
[selectionList]
, [caching=boolean], [constructionHistory=boolean], [createNewMap=boolean], [name=string], [nodeState=int], [uvSetName=string], [uvSetNameInput=string], [worldSpace=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyCopyUV は、取り消し可能、照会可能、および編集可能です。
UV を UV セットから UV セットにコピーします。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
polyCylindricalProjection, polyPlanarProjection, polyProjection, polySphericalProjection, polyUVSet
caching, constructionHistory, createNewMap, name, nodeState, uvSetName, uvSetNameInput, worldSpace
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# Create a poly sphere, with default UVset.
cmds.polySphere()
# Create a second UV set
cmds.select( 'pSphere1.f[0:399]', r=True )
cmds.polyProjection( type='Planar', ra=0, isu=1, isv=1, cm=True, uvSetName='newUVs' )
# Copy the UVs of the fisrt 200 faces from the new set to the default one
cmds.polyCopyUV( 'pSphere1.f[0:199]', uvi='newUVs', uvs='map1' )