移動先: 概要 戻り値 関連項目 フラグ MEL の例
displayRGBColor [-create] [-hueSaturationValue] [-list] [-resetToFactory] [-resetToSaved]
displayRGBColor は「元に戻す」が可能、「照会」が可能、「編集」が不可能です。
アプリケーション内のすべてのものの表示カラーの変更か照会が行われ、ユーザがカラーを設定できるようになります。
このカラーは UI の一部であって、モデルの保存データの一部ではありません。このコマンドは元に戻せません。
string | リスト フラグを使用する場合。その他の場合はなし。 |
戻り値の型は照会モードでは照会フラグが基になります。
currentUnit, displayAffected, displayColor, displayCull, displayLevelOfDetail, displayPref, displaySmoothness, displayStats, displaySurface, hide, refresh, showHidden, toggle
create, hueSaturationValue, list, resetToFactory, resetToSaved
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// Set the background colour to red
displayRGBColor "background" 1 0 0;
// List the current RGB color settings
displayRGBColor -list;