PbSetAngle Function

Sets an XYZ angle on a protobuf message.

void PbSetAngle(Handle pb, const char[] field, const float angle[3], int index)

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

const float[3] angle

Angle value to set.

int index

Index into repeated field.

Errors

Invalid or incorrect Handle, non-existent field, or incorrect field type.