GetSocketLocalToParentTRS(int, out float3, out quaternion, out float3)
Returns the static translation and rotation offset of the socket relative to its parent bone.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
GetSocketLocalToParentTRS(int, float3, quaternion, float3)
public readonly void GetSocketLocalToParentTRS(int index, out float3 translation, out quaternion rotation, out float3 scale)
Parameters
The index of the socket in the rig's socket list.
The socket's translation offset relative to its parent bone.
The socket's rotation offset relative to its parent bone.
The socket's scale offset relative to its parent bone.