Protobuf.ReadAngle Method

Reads an XYZ angle value from a protobuf message.

void ReadAngle(const char[] field, float buffer[3], int index)

Parameters

const char[] field

Field name.

float[3] buffer

Destination angle buffer.

int index

Index into repeated field.

Errors

Non-existent field, or incorrect field type.