GetSocketLocalToParentTR(int, out float3, out quaternion)
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
GetSocketLocalToParentTR(int, float3, quaternion)
public readonly void GetSocketLocalToParentTR(int index, out float3 translation, out quaternion rotation)
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.