GetRotationOffset(int)
Gets the rotation offset associated with a source by index.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public Vector3 GetRotationOffset(int index)
Parameters
The index of the constraint source.
Returns
Type | Description |
|---|---|
| Vector3 | The rotation offset, as Euler angles. |
Remarks
Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.