ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
polyPrimitive [-axis linear linear linear] [-caching boolean] [-constructionHistory boolean] [-createUVs int] [-name string] [-nodeState int] [-object boolean] [-polyType int] [-radius linear] [-sideLength linear] [-texture int]
polyPrimitive は、取り消し可能、照会可能、および編集可能です。
ポリゴン プリミティブを作成します| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Flags from nodes | ||||||||||||
-axis(-ax)
|
linear linear linear
|
|
||||||||||
|
||||||||||||
-createUVs(-cuv)
|
int
|
|
||||||||||
|
||||||||||||
-polyType(-pt)
|
int
|
|
||||||||||
|
||||||||||||
-radius(-r)
|
linear
|
|
||||||||||
|
||||||||||||
-sideLength(-l)
|
linear
|
|
||||||||||
|
||||||||||||
-texture(-tx)
|
int
|
|
||||||||||
|
||||||||||||
| Common poly creation operation flags | ||||||||||||
-caching(-cch)
|
boolean
|
|
||||||||||
|
||||||||||||
-constructionHistory(-ch)
|
boolean
|
|
||||||||||
|
||||||||||||
-name(-n)
|
string
|
|
||||||||||
|
||||||||||||
-nodeState(-nds)
|
int
|
|
||||||||||
|
||||||||||||
-object(-o)
|
boolean
|
|
||||||||||
|
||||||||||||
// Create a soccerBall with radius 1 side length 0.4037 polyPrimitive -r 1 -l 0.4036 -pt 0;