class_gltfskeleton.rst 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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/4.3/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.3/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. .. rst-class:: classref-item-separator
  60. ----
  61. .. _class_GLTFSkeleton_property_roots:
  62. .. rst-class:: classref-property
  63. :ref:`PackedInt32Array<class_PackedInt32Array>` **roots** = ``PackedInt32Array()`` :ref:`🔗<class_GLTFSkeleton_property_roots>`
  64. .. rst-class:: classref-property-setget
  65. - |void| **set_roots**\ (\ value\: :ref:`PackedInt32Array<class_PackedInt32Array>`\ )
  66. - :ref:`PackedInt32Array<class_PackedInt32Array>` **get_roots**\ (\ )
  67. .. container:: contribute
  68. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  69. .. rst-class:: classref-section-separator
  70. ----
  71. .. rst-class:: classref-descriptions-group
  72. Method Descriptions
  73. -------------------
  74. .. _class_GLTFSkeleton_method_get_bone_attachment:
  75. .. rst-class:: classref-method
  76. :ref:`BoneAttachment3D<class_BoneAttachment3D>` **get_bone_attachment**\ (\ idx\: :ref:`int<class_int>`\ ) :ref:`🔗<class_GLTFSkeleton_method_get_bone_attachment>`
  77. .. container:: contribute
  78. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  79. .. rst-class:: classref-item-separator
  80. ----
  81. .. _class_GLTFSkeleton_method_get_bone_attachment_count:
  82. .. rst-class:: classref-method
  83. :ref:`int<class_int>` **get_bone_attachment_count**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_bone_attachment_count>`
  84. .. container:: contribute
  85. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  86. .. rst-class:: classref-item-separator
  87. ----
  88. .. _class_GLTFSkeleton_method_get_godot_bone_node:
  89. .. rst-class:: classref-method
  90. :ref:`Dictionary<class_Dictionary>` **get_godot_bone_node**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_godot_bone_node>`
  91. 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.
  92. .. rst-class:: classref-item-separator
  93. ----
  94. .. _class_GLTFSkeleton_method_get_godot_skeleton:
  95. .. rst-class:: classref-method
  96. :ref:`Skeleton3D<class_Skeleton3D>` **get_godot_skeleton**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_godot_skeleton>`
  97. .. container:: contribute
  98. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  99. .. rst-class:: classref-item-separator
  100. ----
  101. .. _class_GLTFSkeleton_method_get_unique_names:
  102. .. rst-class:: classref-method
  103. :ref:`Array<class_Array>`\[:ref:`String<class_String>`\] **get_unique_names**\ (\ ) :ref:`🔗<class_GLTFSkeleton_method_get_unique_names>`
  104. .. container:: contribute
  105. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  106. .. rst-class:: classref-item-separator
  107. ----
  108. .. _class_GLTFSkeleton_method_set_godot_bone_node:
  109. .. rst-class:: classref-method
  110. |void| **set_godot_bone_node**\ (\ godot_bone_node\: :ref:`Dictionary<class_Dictionary>`\ ) :ref:`🔗<class_GLTFSkeleton_method_set_godot_bone_node>`
  111. 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.
  112. .. rst-class:: classref-item-separator
  113. ----
  114. .. _class_GLTFSkeleton_method_set_unique_names:
  115. .. rst-class:: classref-method
  116. |void| **set_unique_names**\ (\ unique_names\: :ref:`Array<class_Array>`\[:ref:`String<class_String>`\]\ ) :ref:`🔗<class_GLTFSkeleton_method_set_unique_names>`
  117. .. container:: contribute
  118. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  119. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  120. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  121. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  122. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  123. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  124. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  125. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  126. .. |void| replace:: :abbr:`void (No return value.)`