Creates a new GUIColor
Name | Type | Description |
---|---|---|
id | string | The id and name element |
options | json | Options of element |
guimanager | GUIManager | The gui manager |
callback | function | Trigger function by change (optional) |
append | bool | is added to the <body>. => True by default (optional) |
Get the color value of element in rgb (true by default) or hex (false by default)
Set this GUI element to visible or invisible
Returns element if is visible or no
Dispose the GUIColor, and delete element.