移動先: 概要 戻り値 関連項目. フラグ. Python 例.
polyToSubdiv(
[poly]
, [absolutePosition=boolean], [applyMatrixToResult=boolean], [caching=boolean], [constructionHistory=boolean], [maxEdgesPerVert=int], [maxPolyCount=int], [name=string], [nodeState=int], [object=boolean], [preserveVertexOrdering=boolean], [quickConvert=boolean], [uvPoints=float], [uvPointsU=float], [uvPointsV=float], [uvTreatment=int])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
polyToSubdiv は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
ポリゴンをサブディビジョン サーフェスに変換します。
新しいサブディビジョン サーフェスの名前が返されます。
コンストラクション ヒストリがオンの場合、
新しいディペンデンシー ノードの名前も返されます。
string | - サブディビジョンとオプションのディペンデンシー ノード名。 |
戻り値の型は照会モードでは照会フラグが基になります。
changeSubdivComponentDisplayLevel, changeSubdivRegion, createSubdivRegion, nurbsToSubdiv, querySubdiv, refineSubdivSelectionList, subdCollapse, subdToBlind, subdToPoly, subdiv, subdivCrease, subdivDisplaySmoothness
absolutePosition, 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 )