component1
Returns the red component of the color. Allows using destructuring declarations when working with libGDX Color class, for example:
val (red, green, blue) = myColor
Content copied to clipboard
Return
Color.r
Returns the red component of the color. Allows using destructuring declarations when working with libGDX Color class, for example:
val (red, green, blue) = myColor
Color.r