tint

fun tint(color: ColorRGBa): Matrix55(source)

Applies a color tint transformation and returns a 5x5 matrix representing the transformation.

Return

A 5x5 transformation matrix with the color tint applied based on the provided color.

Parameters

color

The ColorRGBa instance containing the red, green, blue, and alpha values of the color tint to apply.