BIS fnc colorRGBAtoTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = Arrays
|gr1= Arrays


| Converts RGB color format to procedural texture, e.g <tt>[0,0,0,1]</tt> becomes <tt>"#(argb,8,8,3)color(0,0,0,1)"</tt>.<br>
| Converts RGB color format to procedural texture, e.g <tt>[0,0,0,1]</tt> becomes <tt>"#(argb,8,8,3)color(0,0,0,1)"</tt>.<br>

Revision as of 13:26, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Arrays

Syntax

Syntax:
Syntax needed
Parameters:
color: Array - format [R,G,B,A]
Return Value:
Return value needed

Examples

Example 1:
_texture = [0,0,0,1] call BIS_fnc_colorRGBAtoTexture;

Additional Information

See also:
BIS_fnc_colorRGBAtoHTML

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note