class_gltfskeleton.rst 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/modules/gltf/doc_classes/GLTFSkeleton.xml.
  6. .. _class_GLTFSkeleton:
  7. GLTFSkeleton
  8. ============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. .. container:: contribute
  11. There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  12. .. rst-class:: classref-introduction-group
  13. Tutorials
  14. ---------
  15. - :doc:`Runtime file loading and saving <../tutorials/io/runtime_file_loading_and_saving>`
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-------------------------------------------------+---------------------------------------------------+------------------------+
  22. | :ref:`PackedInt32Array<class_PackedInt32Array>` | :ref:`joints<class_GLTFSkeleton_property_joints>` | ``PackedInt32Array()`` |
  23. +-------------------------------------------------+---------------------------------------------------+------------------------+
  24. | :ref:`PackedInt32Array<class_PackedInt32Array>` | :ref:`roots<class_GLTFSkeleton_property_roots>` | ``PackedInt32Array()`` |
  25. +-------------------------------------------------+---------------------------------------------------+------------------------+
  26. .. rst-class:: classref-reftable-group
  27. Methods
  28. -------
  29. .. table::
  30. :widths: auto
  31. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  32. | :ref:`BoneAttachment3D<class_BoneAttachment3D>` | :ref:`get_bone_attachment<class_GLTFSkeleton_method_get_bone_attachment>`\ (\ idx\: :ref:`int<class_int>`\ ) |
  33. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  34. | :ref:`int<class_int>` | :ref:`get_bone_attachment_count<class_GLTFSkeleton_method_get_bone_attachment_count>`\ (\ ) |
  35. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  36. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_godot_bone_node<class_GLTFSkeleton_method_get_godot_bone_node>`\ (\ ) |
  37. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  38. | :ref:`Skeleton3D<class_Skeleton3D>` | :ref:`get_godot_skeleton<class_GLTFSkeleton_method_get_godot_skeleton>`\ (\ ) |
  39. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  40. | :ref:`Array<class_Array>`\[:ref:`String<class_String>`\] | :ref:`get_unique_names<class_GLTFSkeleton_method_get_unique_names>`\ (\ ) |
  41. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  42. | |void| | :ref:`set_godot_bone_node<class_GLTFSkeleton_method_set_godot_bone_node>`\ (\ godot_bone_node\: :ref:`Dictionary<class_Dictionary>`\ ) |
  43. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  44. | |void| | :ref:`set_unique_names<class_GLTFSkeleton_method_set_unique_names>`\ (\ unique_names\: :ref:`Array<class_Array>`\[:ref:`String<class_String>`\]\ ) |
  45. +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
  46. .. rst-class:: classref-section-separator
  47. ----
  48. .. rst-class:: classref-descriptions-group
  49. Property Descriptions
  50. ---------------------
  51. .. _class_GLTFSkeleton_property_joints:
  52. .. rst-class:: classref-property
  53. :ref:`PackedInt32Array<class_PackedInt32Array>` **joints** = ``PackedInt32Array()`` :ref:`🔗<class_GLTFSkeleton_property_joints>`
  54. .. rst-class:: classref-property-setget
  55. - |void| **set_joints**\ (\ value\: :ref:`PackedInt32Array<class_PackedInt32Array>`\ )
  56. - :ref:`PackedInt32Array<class_PackedInt32Array>` **get_joints**\ (\ )
  57. .. container:: contribute
  58. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  59. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array<class_PackedInt32Array>` for more details.
  60. .. rst-class:: classref-item-separator
  61. ----
  62. .. _class_GLTFSkeleton_property_roots:
  63. .. rst-class:: classref-property
  64. :ref:`PackedInt32Array<class_PackedInt32Array>` **roots** = ``PackedInt32Array()`` :ref:`🔗<class_GLTFSkeleton_property_roots>`
  65. .. rst-class:: classref-property-setget
  66. - |void| **set_roots**\ (\ value\: :ref:`PackedInt32Array<class_PackedInt32Array>`\ )
  67. - :ref:`PackedInt32Array<class_PackedInt32Array>` **get_roots**\ (\ )
  68. .. container:: contribute
  69. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  70. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array<class_PackedInt32Array>` for more details.
  71. .. rst-class:: classref-section-separator
  72. ----
  73. .. rst-class:: classref-descriptions-group
  74. Method Descriptions
  75. -------------------
  76. .. _class_GLTFSkeleton_method_get_bone_attachment:
  77. .. rst-class:: classref-method
  78. :ref:`BoneAttachment3D<class_BoneAttachment3D>` **get_bone_attachment**\ (\ idx\: :ref:`int<class_int>`\ ) :ref:`🔗<class_GLTFSkeleton_method_get_bone_attachment>`
  79. .. container:: contribute
  80. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  81. .. rst-class:: classref-item-separator
  82. ----
  83. .. _class_GLTFSkeleton_method_get_bone_attachment_count:
  84. .. rst-class:: classref-method
  85. :ref:`int<class_int>` **get_bone_attachment_count**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_bone_attachment_count>`
  86. .. container:: contribute
  87. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  88. .. rst-class:: classref-item-separator
  89. ----
  90. .. _class_GLTFSkeleton_method_get_godot_bone_node:
  91. .. rst-class:: classref-method
  92. :ref:`Dictionary<class_Dictionary>` **get_godot_bone_node**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_godot_bone_node>`
  93. Returns a :ref:`Dictionary<class_Dictionary>` that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes.
  94. .. rst-class:: classref-item-separator
  95. ----
  96. .. _class_GLTFSkeleton_method_get_godot_skeleton:
  97. .. rst-class:: classref-method
  98. :ref:`Skeleton3D<class_Skeleton3D>` **get_godot_skeleton**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_godot_skeleton>`
  99. .. container:: contribute
  100. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  101. .. rst-class:: classref-item-separator
  102. ----
  103. .. _class_GLTFSkeleton_method_get_unique_names:
  104. .. rst-class:: classref-method
  105. :ref:`Array<class_Array>`\[:ref:`String<class_String>`\] **get_unique_names**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_unique_names>`
  106. .. container:: contribute
  107. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  108. .. rst-class:: classref-item-separator
  109. ----
  110. .. _class_GLTFSkeleton_method_set_godot_bone_node:
  111. .. rst-class:: classref-method
  112. |void| **set_godot_bone_node**\ (\ godot_bone_node\: :ref:`Dictionary<class_Dictionary>`\ ) :ref:`🔗<class_GLTFSkeleton_method_set_godot_bone_node>`
  113. Sets a :ref:`Dictionary<class_Dictionary>` that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes.
  114. .. rst-class:: classref-item-separator
  115. ----
  116. .. _class_GLTFSkeleton_method_set_unique_names:
  117. .. rst-class:: classref-method
  118. |void| **set_unique_names**\ (\ unique_names\: :ref:`Array<class_Array>`\[:ref:`String<class_String>`\]\ ) :ref:`🔗<class_GLTFSkeleton_method_set_unique_names>`
  119. .. container:: contribute
  120. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  121. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  122. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  123. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  124. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  125. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  126. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  127. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  128. .. |void| replace:: :abbr:`void (No return value.)`