Documentation

Unity Engine

Download Unity

Unity Engine

GetSocketLocalToParentTranslation(int)

Returns the static translation offset of the socket relative to its parent bone.
Read time 1 minuteLast updated 5 hours ago

Definition

public readonly float3 GetSocketLocalToParentTranslation(int index)

Parameters

index

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

Returns

Type

Description

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