class_boneattachment.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the BoneAttachment.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_BoneAttachment:
  5. BoneAttachment
  6. ==============
  7. **Inherits:** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. A node that will attach to a bone.
  12. Properties
  13. ----------
  14. +-----------------------------+-----------------------------------------------------------+
  15. | :ref:`String<class_String>` | :ref:`bone_name<class_BoneAttachment_property_bone_name>` |
  16. +-----------------------------+-----------------------------------------------------------+
  17. Description
  18. -----------
  19. This node must be the child of a :ref:`Skeleton<class_Skeleton>` node. You can then select a bone for this node to attach to. The BoneAttachment node will copy the transform of the selected bone.
  20. Property Descriptions
  21. ---------------------
  22. .. _class_BoneAttachment_property_bone_name:
  23. - :ref:`String<class_String>` **bone_name**
  24. +----------+----------------------+
  25. | *Setter* | set_bone_name(value) |
  26. +----------+----------------------+
  27. | *Getter* | get_bone_name() |
  28. +----------+----------------------+
  29. The name of the attached bone.