getTransformForBone

fun getTransformForBone(boneIndex: Int): Matrix4?

Gets the transformation matrix for a specific bone index.

Return

The bone transformation matrix, or null if the bone index is invalid.

Parameters

boneIndex

The index of the bone.