BIS_fnc_colorConfigToRGBA

From Bohemia Interactive Community
Revision as of 14:28, 7 April 2019 by Erentar (talk | contribs) (template:command argument fix)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Converts config color format to RGBA array of numbers.

Syntax

Syntax:
configColor call BIS_fnc_colorConfigToRGBA
Parameters:
configColor: Array - config color
Return Value:
Color - format [r, g, b, a]

Examples

Example 1:
["0.5 + 0.25",0,0,1] call BIS_fnc_colorConfigToRGBA; // returns [0.75,0,0,1]

Additional Information

Execution:
call
See also:
ColorBIS_fnc_colorRGBtoHTMLBIS_fnc_colorRGBAtoHTMLBIS_fnc_colorRGBAtoTexture

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section