Skeleton for 2D characters and animated objects.
|Bone2D||get_bone ( int idx )|
|int||get_bone_count ( ) const|
|RID||get_skeleton ( ) const|
Returns a Bone2D from the node hierarchy parented by Skeleton2D. The object to return is identified by the parameter
idx. Bones are indexed by descending the node hierarchy from top to bottom, adding the children of each branch before moving to the next sibling.
Returns the number of Bone2D nodes in the node hierarchy parented by Skeleton2D.
Returns the RID of a Skeleton2D instance.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.