colorToGlRgbaArray

fun colorToGlRgbaArray(@ColorInt color: Int): FloatArray

Converts Android color int to GL rgba float array.

Returned values range from 0-1.

Return

float rgba array, values range from 0 to 1

Parameters

color

Android color int