ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
blendShape [-after] [-afterReference] [-automatic] [-before] [-components] [-copyDelta uint uint uint] [-copyInBetweenDelta uint uint uint uint] [-copyWeights uint uint uint] [-deformerTools] [-dumpInfo] [-editTarget] [-envelope float] [-exclusive string] [-export string] [-exportTarget int int] [-fixedSetupData string] [-flipTarget uint uint] [-frontOfChain] [-geometry string] [-geometryIndices] [-ignoreSelected] [-import string] [-inBetween] [-inBetweenIndex uint] [-inBetweenType string] [-includeHiddenSelections] [-mergeSource int] [-mergeTarget uint] [-mirrorDirection uint] [-mirrorTarget uint uint] [-name string] [-normalizationGroups] [-origin string] [-parallel] [-prune] [-remove] [-resetTargetDelta uint uint] [-selectedComponents] [-split] [-suppressDialog] [-symmetryAxis string] [-symmetryEdge string] [-symmetrySpace uint] [-tangentSpace] [-target string uint string float] [-topologyCheck boolean] [-transform string] [-useComponentTags] [-weight uint float] [-weightCount uint]
[objects]
blendShape は、取り消し可能、照会可能、および編集可能です。
このコマンドは、blendShape デフォーマを作成します。これにより、初期のベース シェイプに対して各ターゲット シェイプを指定量だけブレンドできます。ベース シェイプはそれぞれ、固有のターゲット シェイプのセットで変形されます。ターゲット シェイプには、シェイプのウェイト値の 1 つに関連付けるインデックスがあります。| string[] | (ブレンド シェイプ ノード名) |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-after(-af)
|
|
|
||
|
||||
-afterReference(-ar)
|
|
|
||
|
||||
-automatic(-at)
|
|
|
||
|
||||
-before(-bf)
|
|
|
||
|
||||
-components(-cmp)
|
|
|
||
|
||||
-copyDelta(-cd)
|
uint uint uint
|
|
||
|
||||
-copyInBetweenDelta(-cid)
|
uint uint uint uint
|
|
||
|
||||
-copyWeights(-cw)
|
uint uint uint
|
|
||
|
||||
-deformerTools(-dt)
|
|
|
||
|
||||
-dumpInfo(-dui)
|
|
|
||
|
||||
-editTarget(-edt)
|
|
|
||
|
||||
-envelope(-en)
|
float
|
|
||
|
||||
-exclusive(-ex)
|
string
|
|
||
|
||||
-export(-ep)
|
string
|
|
||
|
||||
-exportTarget(-et)
|
int int
|
|
||
|
||||
-fixedSetupData(-fsd)
|
string
|
|
||
|
||||
-flipTarget(-ft)
|
uint uint
|
|
||
|
||||
-frontOfChain(-foc)
|
|
|
||
|
||||
-geometry(-g)
|
string
|
|
||
|
||||
-geometryIndices(-gi)
|
|
|
||
|
||||
-ignoreSelected(-is)
|
|
|
||
|
||||
-import(-ip)
|
string
|
|
||
|
||||
-inBetween(-ib)
|
|
|
||
|
||||
-inBetweenIndex(-ibi)
|
uint
|
|
||
|
||||
-inBetweenType(-ibt)
|
string
|
|
||
|
||||
-includeHiddenSelections(-ihs)
|
|
|
||
|
||||
-mergeSource(-mgs)
|
int
|
|
||
|
||||
-mergeTarget(-mgt)
|
uint
|
|
||
|
||||
-mirrorDirection(-md)
|
uint
|
|
||
|
||||
-mirrorTarget(-mt)
|
uint uint
|
|
||
|
||||
-name(-n)
|
string
|
|
||
|
||||
-normalizationGroups(-ng)
|
|
|
||
|
||||
-origin(-o)
|
string
|
|
||
|
||||
-parallel(-par)
|
|
|
||
|
||||
-prune(-pr)
|
|
|
||
|
||||
-remove(-rm)
|
|
|
||
|
||||
-resetTargetDelta(-rtd)
|
uint uint
|
|
||
|
||||
-selectedComponents(-cms)
|
|
|
||
|
||||
-split(-sp)
|
|
|
||
|
||||
-suppressDialog(-sd)
|
|
|
||
|
||||
-symmetryAxis(-sa)
|
string
|
|
||
|
||||
-symmetryEdge(-se)
|
string
|
|
||
|
||||
-symmetrySpace(-ss)
|
uint
|
|
||
|
||||
-tangentSpace(-ts)
|
|
|
||
|
||||
-target(-t)
|
string uint string float
|
|
||
|
||||
-topologyCheck(-tc)
|
boolean
|
|
||
|
||||
-transform(-tr)
|
string
|
|
||
|
||||
-useComponentTags(-uct)
|
|
|
||
|
||||
-weight(-w)
|
uint float
|
|
||
|
||||
-weightCount(-wc)
|
uint
|
|
||
|
||||
// // Perform a blendShape using the currently-selected objects. // The lead (last-selected) object will be the base shape, and each // of the others become targets. // blendShape; // // Create a blendShape that starts with curve3 as the base, and blends // in curve1 and curve2 as targets. blendShape curve1 curve2 curve3; // // Apply 80% of the total blendShape deformation, by setting // the envelope parameter to 0.8 blendShape -edit -en 0.8 blendShape1; // // Set the weights for the first two target shapes to 0.6 // and 0.1 respectively blendShape -edit -w 0 0.6 -w 1 0.1 blendShape1; // // Add a third target (target1) to the blendShape on curve3 blendShape -edit -t curve3 2 target1 1.0 blendShape1; // // Add "smirk", an inbetween on the third target for base // shape curve3. The inbetween will take effect at a weight of 0.2 blendShape -edit -ib -t curve3 2 smirk 0.2 blendShape1; // Edit target 1 // sculptTarget -e -target 1 blendShape1; // Query the edit target // blendShape -q -edt blendShape1;