color [-rgbColor float float float] [-userDefined int]
[objects]
color は、取り消し可能、照会不可能、および編集不可能です。
このコマンドは、指定したオブジェクトの固定ワイヤフレーム カラーがそのオブジェクトのクラス カラーになるように設定するか、または -ud/userDefined フラグを指定している場合は、ユーザ定義カラーの 1 つを設定します。ユーザが浮動小数点 RGB カラーが必要な場合は、-rgb/rgbColor フラグを指定できます。なし
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-rgbColor(-rgb)
|
float float float
|
|
||
|
||||
-userDefined(-ud)
|
int
|
|
||
|
||||
// create a sphere and deselect it sphere -n sphere1; select -d; // Set the inactive wireframe color of the sphere to the // first user defined color color -ud 1 sphere1; // set the inactive wireframe color to red using rgb color -rgb 1 0 0 sphere1; // set the wireframe color of the sphere back to its default color color sphere1;