移動先: 概要 戻り値 キーワード. 関連項目. フラグ. MEL 例.
polyColorPerVertex [-alpha float] [-clamped boolean] [-colorB float] [-colorDisplayOption] [-colorG float] [-colorR float] [-colorRGB float float float] [-notUndoable] [-relative] [-remove] [-representation int]
polyColorPerVertex は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
ポリゴン オブジェクトの頂点にカラー(RGB とアルファ)をコネクトします。
照会フラグと併用すると、指定したコンポーネントにコネクトされたカラーを返します。
戻り値の型は照会モードでは照会フラグが基になります。
poly, color, colorPerVertex, vertexColor
polyGeoSampler
alpha, clamped, colorB, colorDisplayOption, colorG, colorR, colorRGB, notUndoable, relative, remove, representation
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// To set the rgb channels of selected vertices:
polyColorPerVertex -rgb 0.8 0.0 0.4;
// To set just the "g" channel of selected vertices:
polyColorPerVertex -g 0.5;
// To add to the current value of just the "g" channel of selected vertices:
polyColorPerVertex -rel -g 0.2;
// To query the "g" and "b" channels of color on selected vertices:
polyColorPerVertex -q -g -b;