ドキュメント

Unity Engine

Unity Engine

GetRotationOffset(int)

Gets the rotation offset associated with a source by index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public Vector3 GetRotationOffset(int index)

Parameters

index

The index of the constraint source.

Returns

Type

Description

Vector3The rotation offset, as Euler angles.

Remarks

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