In query mode, return type is based on queried flag.
| Long name (short name) |
Argument types |
Properties |
|
-alpha(-a)
|
float
|

|
|
Float values corresponding to the alpha transparency component,
, which ranges from 0.0 to 1.0. Use this flag to specify the
initial alpha value of the Color Editor, or query
this flag to determine the alpha value set in the editor.
|
|
-hsvValue(-hsv)
|
float float float
|

|
|
Three float values corresponding to the hue, saturation, and
value color components, where the hue value ranges from 0.0 to 360.0
and the saturation and value components range from 0.0 to 1.0. Use
this flag to specify the initial color of the Color Editor, or query
this flag to determine the color set in the editor.
|
|
-mini(-m)
|
|
|
|
Enable the mini color editor mode.
|
|
-parent(-p)
|
string
|
|
|
Specify the parent window for the dialog. The dialog will
be centered on this window and raise and lower with it's parent.
By default, the dialog is not parented to a particular window and
is simply centered on the screen.
|
|
-position(-pos)
|
int int
|
|
|
Specify the window position for the dialog.
|
|
-result(-r)
|
|
|
|
This query only flag returns true if the dialog's "OK" button
was pressed, false otherwise. If you query this flag immediately
after showing the Color Editor then it will return the same value
as the boolean value returned in the colorEditor command's
return string.
|
|
-rgbValue(-rgb)
|
float float float
|

|
|
Three float values corresponding to the red, green, and blue
color components, all of which range from 0.0 to 1.0. Use this
flag to specify the initial color of the Color Editor, or query
this flag to determine the color set in the editor.
|
|
-useDisplaySpace(-uds) 2027
|
boolean
|
|
|
Sets the color picker to use uncorrected color values.
|
|
-useVpColorPicker(-vcp) 2027
|
boolean
|
|
|
Enabled to sample the 32bit float version from the viewport instead of the 8 bit integer that QT sees.
Note that the viewport color picker does not allow to pick color on hud elements.
|
|