SetVector2D
Sets an XY vector on a protobuf message.
native void SetVector2D(const char[] field, const float vec[2], int index = -1)
Parameters
const char[] field
Field name.
const float[2] vec
Vector value to set.
int index
Index into repeated field.
Return Value
voidError
Non-existent field, or incorrect field type.