Protobuf.SetAngle Method

Sets an XYZ angle on a protobuf message.

void SetAngle(const char[] field, const float angle[3], int index)

Parameters

const char[] field

Field name.

const float[3] angle

Angle value to set.

int index

Index into repeated field.

Errors

Non-existent field, or incorrect field type.