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