def getBoneHierarchy(self, action, unIndexArayCount):
        """Fills the given array with the index of each bone's parent in the skeleton associated with the given action"""

        fn = self.function_table.getBoneHierarchy
        pParentIndices = BoneIndex_t()
        result = fn(action, byref(pParentIndices), unIndexArayCount)
        return result, pParentIndices
Fills the given array with the index of each bone's parent in the skeleton associated with the given action