Documentation

Unity Engine

Download Unity

Unity Engine

GetSocketLocalToParentMatrix(int)

Returns the matrix of the socket's transform relative to its parent bone.
Read time 1 minuteLast updated 4 hours ago

Definition

public readonly AffineTransform GetSocketLocalToParentMatrix(int index)

Parameters

index

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

Returns

Type

Description

AffineTransformThe socket's transform matrix relative to its parent bone.