UDetailPoseModelInstance::GetBestDetailPoseIndex

Get the best matching detail pose, compared to the character's current pose as defined by the skeletal mesh component we are linked to.