Documentation

Unity Engine

Download Unity

Unity Engine

GetLocalToCharacterInverseMatrix(int)

Returns the local to character inverse matrix of the bone at the specified index.
Read time 1 minuteLast updated 5 hours ago

Definition

public readonly AffineTransform GetLocalToCharacterInverseMatrix(int index)

Parameters

index

The index of the bone in Skeleton.Ids, for example from Skeleton.FindBoneIndex.

Returns

Type

Description

AffineTransformThe local to character inverse matrix.

Remarks

The index must be at least 0 and less than AnimationStream.BoneCount.