Skeleton for characters and animated objects.
Skeleton provides a hierarchical interface for managing bones, including pose, rest and animation (see [Animation]). Skeleton will support rag doll dynamics in the future.
Add a bone, with name "name". [method get_bone_count] will become the bone index.
Deprecated soon.
Clear all the bones in this skeleton.
Return the bone index that matches "name" as its name.
Return the amount of bones in the skeleton.
Return the name of the bone at index "index"
Return the bone index which is the parent of the bone at "bone_idx". If -1, then bone has no parent. Note that the parent bone returned will always be less than "bone_idx".
Return the pose transform for bone "bone_idx".
Return the rest transform for a bone "bone_idx".
Deprecated soon.
Set 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".
Return the pose transform for bone "bone_idx".
Set the rest transform for bone "bone_idx"
Deprecated soon.