PbReadColor
Reads an RGBA color value from a protobuf message.
native void PbReadColor(Handle pb, 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
Invalid or incorrect Handle, non-existent field, or incorrect field type.