ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
polyColorMod [-alphaScale_FloatValue float] [-alphaScale_Interp int] [-alphaScale_Position float] [-baseColorName string] [-blueScale_FloatValue float] [-blueScale_Interp int] [-blueScale_Position float] [-caching boolean] [-constructionHistory boolean] [-greenScale_FloatValue float] [-greenScale_Interp int] [-greenScale_Position float] [-huev float] [-intensityScale_FloatValue float] [-intensityScale_Interp int] [-intensityScale_Position float] [-name string] [-nodeState int] [-redScale_FloatValue float] [-redScale_Interp int] [-redScale_Position float] [-satv float] [-value float]
polyColorMod は、取り消し可能、照会可能、および編集可能です。
ポリゴン カラー セットのアトリビュートを修正します。| string | ノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly modifier operation flags | ||||||||||||
-alphaScale_FloatValue(-afv)
|
float
|
|
||||||||||
|
||||||||||||
-alphaScale_Interp(-ai)
|
int
|
|
||||||||||
|
||||||||||||
-alphaScale_Position(-ap)
|
float
|
|
||||||||||
|
||||||||||||
-baseColorName(-bcn)
|
string
|
|
||||||||||
|
||||||||||||
-blueScale_FloatValue(-bfv)
|
float
|
|
||||||||||
|
||||||||||||
-blueScale_Interp(-bi)
|
int
|
|
||||||||||
|
||||||||||||
-blueScale_Position(-bp)
|
float
|
|
||||||||||
|
||||||||||||
-caching(-cch)
|
boolean
|
|
||||||||||
|
||||||||||||
-constructionHistory(-ch)
|
boolean
|
|
||||||||||
|
||||||||||||
-greenScale_FloatValue(-gfv)
|
float
|
|
||||||||||
|
||||||||||||
-greenScale_Interp(-gi)
|
int
|
|
||||||||||
|
||||||||||||
-greenScale_Position(-gp)
|
float
|
|
||||||||||
|
||||||||||||
-huev(-h)
|
float
|
|
||||||||||
|
||||||||||||
-intensityScale_FloatValue(-nfv)
|
float
|
|
||||||||||
|
||||||||||||
-intensityScale_Interp(-ni)
|
int
|
|
||||||||||
|
||||||||||||
-intensityScale_Position(-np)
|
float
|
|
||||||||||
|
||||||||||||
-name(-n)
|
string
|
|
||||||||||
|
||||||||||||
-nodeState(-nds)
|
int
|
|
||||||||||
|
||||||||||||
-redScale_FloatValue(-rfv)
|
float
|
|
||||||||||
|
||||||||||||
-redScale_Interp(-ri)
|
int
|
|
||||||||||
|
||||||||||||
-redScale_Position(-rp)
|
float
|
|
||||||||||
|
||||||||||||
-satv(-s)
|
float
|
|
||||||||||
|
||||||||||||
-value(-v)
|
float
|
|
||||||||||
|
||||||||||||
// Create a poly plane pPlane1 polyPlane -w 10 -h 10 -sx 10 -sy 10 -n pPlane1; // Create colorSet1, set to use RGBA channel polyColorSet -create -clamped 0 -rpt RGBA -colorSet colorSet1; // Apply red color to the vertices of pPlane1 polyColorPerVertex -r 1 -g 0 -b 0 -a 1 -cdo; // Modify the color of colorSet1 to green polyColorMod -huev 120 -bcn colorSet1 pPlane1;