polySplitCtx2 [-constrainToEdges boolean] [-edgeMagnets int] [-snapTolerance float]
polySplitCtx2 は、取り消し可能、照会可能、および編集可能です。
新しいコンテキストを作成し、ポリゴン オブジェクトでファセットを分割します。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-constrainToEdges(-cte)
|
boolean
|
|
||
|
||||
-snapTolerance(-st)
|
float
|
|
||
|
||||
-edgeMagnets(-em)
|
int
|
|
||
|
||||
// Create a poly plane polyPlane -w 10 -h 10 -sx 1 -sy 1 -n pPlane1; // Create a new poly split context, then switch to it polySplitCtx2 polySplitCtx2; setToolTo polySplitCtx2;