BIS fnc colorRGBAtoTexture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<br />" to "<br>") |
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 33: | Line 33: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:colorRGBAtoTexture}}]] | [[Category:Functions|{{uc:colorRGBAtoTexture}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:colorRGBAtoTexture}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:colorRGBAtoTexture}}]] |
Revision as of 08:51, 10 October 2020
Description
- Description:
- Converts RGB color format to procedural texture, e.g [0,0,0,1] becomes "#(argb,8,8,3)color(0,0,0,1)".
Values are in range 0..1. - Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- color call BIS_fnc_colorRGBAtoTexture
- Parameters:
- color: Array - format [R,G,B,A]
- Return Value:
- String - procedural texture to format "#(argb,8,8,3)color(R,G,B,A)"
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