.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/Bone2D.xml. .. _class_Bone2D: Bone2D ====== **Inherits:** :ref:`Node2D` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------------+-----------------------------------------+-----------------------------------+ | :ref:`Transform2D` | :ref:`rest` | ``Transform2D(0, 0, 0, 0, 0, 0)`` | +---------------------------------------+-----------------------------------------+-----------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`apply_rest` **(** **)** | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_autocalculate_length_and_angle` **(** **)** |const| | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_bone_angle` **(** **)** |const| | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_index_in_skeleton` **(** **)** |const| | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_length` **(** **)** |const| | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Transform2D` | :ref:`get_skeleton_rest` **(** **)** |const| | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_autocalculate_length_and_angle` **(** :ref:`bool` auto_calculate **)** | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_bone_angle` **(** :ref:`float` angle **)** | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_length` **(** :ref:`float` length **)** | +---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_Bone2D_property_rest: .. rst-class:: classref-property :ref:`Transform2D` **rest** = ``Transform2D(0, 0, 0, 0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_rest** **(** :ref:`Transform2D` value **)** - :ref:`Transform2D` **get_rest** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_Bone2D_method_apply_rest: .. rst-class:: classref-method void **apply_rest** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_get_autocalculate_length_and_angle: .. rst-class:: classref-method :ref:`bool` **get_autocalculate_length_and_angle** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_get_bone_angle: .. rst-class:: classref-method :ref:`float` **get_bone_angle** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_get_index_in_skeleton: .. rst-class:: classref-method :ref:`int` **get_index_in_skeleton** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_get_length: .. rst-class:: classref-method :ref:`float` **get_length** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_get_skeleton_rest: .. rst-class:: classref-method :ref:`Transform2D` **get_skeleton_rest** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_set_autocalculate_length_and_angle: .. rst-class:: classref-method void **set_autocalculate_length_and_angle** **(** :ref:`bool` auto_calculate **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_set_bone_angle: .. rst-class:: classref-method void **set_bone_angle** **(** :ref:`float` angle **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Bone2D_method_set_length: .. rst-class:: classref-method void **set_length** **(** :ref:`float` length **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`