ReadColor
Reads an RGBA color value from a protobuf message.
native void ReadColor(const char[] field, int buffer[4], int index = -1)
Parameters
const char[] field
Field name.
int[4] buffer
Destination color buffer.
int index
Index into repeated field.
Return Value
voidError
Non-existent field, or incorrect field type.