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