PbReadAngle Function

Reads an XYZ angle value from a protobuf message.

void PbReadAngle(Handle pb, const char[] field, float buffer[3], int index)

Parameters

Handle pb

protobuf handle.

const char[] field

Field name.

float[3] buffer

Destination angle buffer.

int index

Index into repeated field.

Errors

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