ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyToSubdiv(
[poly]
, [absolutePosition=boolean], [addUnderTransform=boolean], [applyMatrixToResult=boolean], [caching=boolean], [constructionHistory=boolean], [maxEdgesPerVert=int], [maxPolyCount=int], [name=string], [nodeState=int], [object=boolean], [preserveVertexOrdering=boolean], [quickConvert=boolean], [uvPoints=[float, float]], [uvPointsU=float], [uvPointsV=float], [uvTreatment=int])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyToSubdiv は、取り消し可能、照会可能、および編集可能です。
ポリゴンをサブディビジョン サーフェスに変換します。新しいサブディビジョン サーフェスの名前が返されます。コンストラクション ヒストリがオンの場合、新しいディペンデンシー ノードの名前も返されます。
| string | - サブディビジョンとオプションのディペンデンシー ノード名。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
changeSubdivComponentDisplayLevel, changeSubdivRegion, createSubdivRegion, nurbsToSubdiv, querySubdiv, refineSubdivSelectionList, subdCollapse, subdToBlind, subdToPoly, subdiv, subdivCrease, subdivDisplaySmoothness
absolutePosition, addUnderTransform, applyMatrixToResult, caching, constructionHistory, maxEdgesPerVert, maxPolyCount, name, nodeState, object, preserveVertexOrdering, quickConvert, uvPoints, uvPointsU, uvPointsV, uvTreatment
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# To create a new subdivision surface from a polygon:
cmds.polyToSubdiv( 'polySphere1' )
# To create a new subdivision surface from a polygon with history so that
# the tesselation can be edited afterwards:
cmds.polyToSubdiv( 'polySphere1', ch=True )