ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
polyPoke [-caching boolean] [-constructionHistory boolean] [-localTranslate linear linear linear] [-localTranslateX linear] [-localTranslateY linear] [-localTranslateZ linear] [-name string] [-nodeState int] [-translate linear linear linear] [-translateX linear] [-translateY linear] [-translateZ linear] [-worldSpace boolean]
selectionList
polyPoke は、取り消し可能、照会可能、および編集可能です。
選択したフェースの中心に新しい頂点を作成し、フェースの他の頂点と接続します。| string | ノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly modifier operation flags | ||||||||||||
-caching(-cch)
|
boolean
|
|
||||||||||
|
||||||||||||
-constructionHistory(-ch)
|
boolean
|
|
||||||||||
|
||||||||||||
-localTranslate(-lt)
|
linear linear linear
|
|
||||||||||
|
||||||||||||
-localTranslateX(-ltx)
|
linear
|
|
||||||||||
|
||||||||||||
-localTranslateY(-lty)
|
linear
|
|
||||||||||
|
||||||||||||
-localTranslateZ(-ltz)
|
linear
|
|
||||||||||
|
||||||||||||
-name(-n)
|
string
|
|
||||||||||
|
||||||||||||
-nodeState(-nds)
|
int
|
|
||||||||||
|
||||||||||||
-translate(-t)
|
linear linear linear
|
|
||||||||||
|
||||||||||||
-translateX(-tx)
|
linear
|
|
||||||||||
|
||||||||||||
-translateY(-ty)
|
linear
|
|
||||||||||
|
||||||||||||
-translateZ(-tz)
|
linear
|
|
||||||||||
|
||||||||||||
-worldSpace(-ws)
|
boolean
|
|
||||||||||
|
||||||||||||
// To poke all the faces of a polyCube... // polyCube -w 1 -h 1 -d 1 -sx 1 -sy 1 -sz 1 -ax 0 1 0 -tx 1 -ch 1 -n pCube; polyPoke -ch 1 pCube.f[0:5]; // To poke all the faces of a polyCube, and pull the // new vertices by one unit along the face normal // polyCube -w 1 -h 1 -d 1 -sx 1 -sy 1 -sz 1 -ax 0 1 0 -tx 1 -ch 1 -n pCubePull; polyPoke -ltx 0 -lty 0 -ltz 1 -ch 1 pCubePull.f[0:5];