GetLocalToCharacterMatrix(int)
Returns the local to character matrix of the bone at the specified index.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public readonly AffineTransform GetLocalToCharacterMatrix(int index)
Parameters
The index of the bone in Skeleton.Ids, for example from Skeleton.FindBoneIndex.
Returns
Type | Description |
|---|---|
| AffineTransform | The local to character matrix. |
Remarks
The index must be at least 0 and less than AnimationStream.BoneCount.