SetLocalToParentTRS(int, in float3, in quaternion, in float3)
Sets the local to parent translation, rotation and scale of the bone at the specified index.
Read time 1 minuteLast updated 5 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
SetLocalToParentTRS(int, float3, quaternion, float3)
public void SetLocalToParentTRS(int index, in float3 translation, in quaternion rotation, in float3 scale)
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.
The local to parent translation to set.
The local to parent rotation to set.
The local to parent scale to store for the bone.