Description
Returns a color of the given definition.
Syntax
UBE_DefinitionInteger( *Definition, *Color.UBE_COLORf [, DefaultColor.l] )
Parameters
*Definition | A valid pointer to a definition. |
*Color | A valid pointer to a float RGBA-color. |
DefaultColor | The returned color if the definition is empty or invalid.
By default it is $00000000 |
Return value
None
Remarks
The color can have the following formats:
- normal integer number:
4278223103
- normal hex-integer number ($AABBGGRR):
$FF0080FF
- integer channel list (R,G,B,A):
255, 128, 0, 255
- hex-integer channel list (R,G,B,A):
$FF, $80, $00, $FF
- float channel list (R,G,B,A):
1.0, 0.5, 0.0, 1.0
If the last last channel (alpha channel) isn't set, the color is fully visible.
See also