Averaging.AverageColor
Extension Method in Averaging
Declaration
public static Color AverageColor(this Texture2D texture)
Description
Returns the result of averaging the RGBA component values of every pixel in the texture.
Parameters
texture | The texture to get the average color of. |
Returns
Color | The average color of the texture. |