component1
Returns the red component of the color. Allows using destructuring declarations when working with libGDX Color class, for example:
val (red, green, blue) = myColorContent 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) = myColorColor.r