BIS_fnc_colorConfigToRGBA

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

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
Multiplayer:
-
See also:
ColorBIS_fnc_colorRGBtoHTMLBIS_fnc_colorRGBAtoHTMLBIS_fnc_colorRGBAtoTexture

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section