Version: 2018.2
public Vector3 GetRotationOffset (int index);

パラメーター

indexThe index of the constraint source.

戻り値

Vector3 The rotation offset, as Euler angles.

説明

Gets 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.