BoneAttachment.xml 943 B

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="BoneAttachment" inherits="Spatial" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. A node that will attach to a bone.
  5. </brief_description>
  6. <description>
  7. This node must be the child of a [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.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_bone_name" qualifiers="const">
  15. <return type="String">
  16. </return>
  17. <description>
  18. Returns the name of the bone node attached to.
  19. </description>
  20. </method>
  21. <method name="set_bone_name">
  22. <return type="void">
  23. </return>
  24. <argument index="0" name="bone_name" type="String">
  25. </argument>
  26. <description>
  27. Changes the name of the bone node
  28. </description>
  29. </method>
  30. </methods>
  31. <constants>
  32. </constants>
  33. </class>