ジャンプ先: 概要. 戻り値. フラグ. Python 例.
subdAutoProjection(
selectionList
, [caching=boolean], [constructionHistory=boolean], [layout=int], [layoutMethod=int], [name=string], [nodeState=int], [optimize=int], [percentageSpace=float], [planes=int], [scale=int], [skipIntersect=boolean], [worldSpace=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
subdAutoProjection は、取り消し可能、照会可能、および編集可能です。
複数の正射投影を同時に使用して、テクスチャ マップをオブジェクトに投影します。 この引数はフェース セレクション リストです。| string | ノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
layout(l)
|
int
|
|
||||||||||
|
||||||||||||
layoutMethod(lm)
|
int
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
optimize(o)
|
int
|
|
||||||||||
|
||||||||||||
percentageSpace(ps)
|
float
|
|
||||||||||
|
||||||||||||
planes(p)
|
int
|
|
||||||||||
|
||||||||||||
scale(sc)
|
int
|
|
||||||||||
|
||||||||||||
skipIntersect(si)
|
boolean
|
|
||||||||||
|
||||||||||||
worldSpace(ws)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Create a subd sphere with default UVs. mel.eval( "createSubdSphereProc" ) # Automatic projections with 6 planes. cmds.subdAutoProjection( 'subdivSphere1.smf[*][*]' )