Arma 3 Scripting

BIS_fnc_colorRGBAtoTexture

  • Arma 3 v1.00

Function · Markdown · JSON · 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