Documentation

Unity Engine

Download Unity

Unity Engine

GetSocketLocalToParentRotation(int)

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

Definition

public readonly quaternion GetSocketLocalToParentRotation(int index)

Parameters

index

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

Returns

Type

Description

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