Version: 2018.1
public void SetRotationOffset (int index, Vector3 value);

Parameters

indexThe index of the constraint source.
valueThe new rotation offset.

Description

Sets the rotation offset associated with a source by index.

Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.