Arma 3 Scripting

Function in Arrays

BIS_fnc_colorRGBAtoTexture

Also available as Markdown and JSON, or read the original wiki page.

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.

Syntax

color call BIS_fnc_colorRGBAtoTexture

Parameters:

Returns: String - procedural texture to format "#(argb,8,8,3)color(R,G,B,A)"

Examples

Example 1

private _texture = [0,0,0,1] call BIS_fnc_colorRGBAtoTexture;

See also

BIS_fnc_colorRGBAtoHTML