Skeleton2D

    Skeleton for 2D characters and animated objects.

    • bone_setup_changed ( )
    • get_bone ( int idx )

    Returns a from the node hierarchy parented by Skeleton2D. The object to return is identified by the parameter . Bones are indexed by descending the node hierarchy from top to bottom, adding the children of each branch before moving to the next sibling.



    • RID get_skeleton ( ) const

    Returns the of a Skeleton2D instance.