GetTranslationOffset(int)
Gets the rotation offset associated with a source by index.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public Vector3 GetTranslationOffset(int index)
Parameters
The index of the constraint source.
Returns
Type | Description |
|---|---|
| Vector3 | The translation offset. |
Remarks
Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.