Class ColorHelper
Syntax
public static class ColorHelper
Methods
CalculateAverageColor(Renderer, Int32, Int32)
Declaration
public static Color CalculateAverageColor(Renderer renderer, int precision = 1, int materialWithTextureBias = 1)
Parameters
Returns
ReadColor(NativeArray<Byte>, TextureFormat, Int32, ref Color)
Declaration
public static void ReadColor(NativeArray<byte> bytes, TextureFormat format, int colorIndex, ref Color color)
Parameters
WriteColor(NativeArray<Byte>, TextureFormat, Int32, Color)
Declaration
public static void WriteColor(NativeArray<byte> bytes, TextureFormat format, int colorIndex, Color color)
Parameters