Documentation

Unity Engine

Download Unity

Unity Engine

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

GetSocketLocalToParentTRS(int, float3, quaternion, float3)

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

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.

scale

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