GetLocalToParentScale(int)
Returns the local to parent scale 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 float3 GetLocalToParentScale(int index)
Parameters
The index of the scale channel. The first Skeleton.BoneCount scale channels are the bones, in the order of Skeleton.Ids.
Returns
Type | Description |
|---|---|
| float3 | The local to parent scale. |
Remarks
The index must be at least 0 and less than AnimationStream.ScaleCount.