Protobuf.AddVector Method

Add an XYZ vector to a protobuf message repeated field.

void AddVector(const char[] field, const float vec[3])

Parameters

const char[] field

Field name.

const float[3] vec

Vector value to add.

Errors

Non-existent field, or incorrect field type.