/Engine/Source/Runtime/Engine/Public/BoneContainer.h
Returns array of the size of compact pose, mapping to mesh pose index returns Required Bone Indices Array
const [TArray](API\Runtime\Core\Containers\TArray)< FBoneIndexType > & GetBoneIndicesArray() const