GetLocalToParentMatrix(int)
Returns the local to parent 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 GetLocalToParentMatrix(int index)
Parameters
The index of the translation, rotation, and scale channels. The first Skeleton.BoneCount channels of each kind are the bones, in the order of Skeleton.Ids.
Returns
Type | Description |
|---|---|
| AffineTransform | The local to parent matrix. |