Function Skeleton.getBoneParent

Returns the bone index which is the parent of the bone at bone_idx. If -1, then bone has no parent. Note: The parent bone returned will always be less than bone_idx.

long getBoneParent (
  const(long) bone_idx
) nothrow @nogc const;