ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. 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
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// 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;