Documentation

Unity Engine

Download Unity

Unity Engine

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

GetSocketLocalToParentTR(int, float3, quaternion)

public readonly void GetSocketLocalToParentTR(int index, out float3 translation, out quaternion rotation)

Parameters

index

The index of the socket in the rig's socket list.

translation

The socket's translation offset relative to its parent bone.

rotation

The socket's rotation offset relative to its parent bone.