Go to: Synopsis. Flags. Return value. Related. MEL examples.
displayRGBColor [-create] [-hueSaturationValue] [-list] [-q] [-resetToFactory] [-resetToSaved]
displayRGBColor is undoable, queryable, and editable.
This command changes or queries the display color for anything
in the application that allows the user to set its color.
These colors are part of the UI and not part of the saved
data for a model. This command is not undoable.
create, hueSaturationValue, list, q, resetToFactory, resetToSaved
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command
|
Returns an array of 3 floats in query mode.
currentUnit, displayAffected, displayColor, displayCull, displayLevelOfDetail, displayPref, displaySmoothness, displayStats, displaySurface, hide, refresh, showHidden, toggle
// Set the background colour to red
displayRGBColor "background" 1 0 0;
// List the current RGB color settings
displayRGBColor -list;