Function Skeleton.setBoneParent
Sets the bone index parent_idx
as the parent of the bone at bone_idx
. If -1, then bone has no parent.
Note: parent_idx
must be less than bone_idx
.
void setBoneParent
(
const(long) bone_idx,
const(long) parent_idx
) nothrow @nogc;