Class ColorHelper
Namespace: UnityEngine.Reflect
Syntax
public static class ColorHelper
Methods
ReadColor(NativeArray<Byte>, TextureFormat, Int32, ref Color)
Declaration
public static void ReadColor(NativeArray<byte> bytes, TextureFormat format, int colorIndex, ref Color color)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<Byte> | bytes | |
TextureFormat | format | |
Int32 | colorIndex | |
Color | color |
WriteColor(NativeArray<Byte>, TextureFormat, Int32, Color)
Declaration
public static void WriteColor(NativeArray<byte> bytes, TextureFormat format, int colorIndex, Color color)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<Byte> | bytes | |
TextureFormat | format | |
Int32 | colorIndex | |
Color | color |