class_gltfskeleton.rst 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/modules/gltf/doc_classes/GLTFSkeleton.xml.
  6. .. _class_GLTFSkeleton:
  7. GLTFSkeleton
  8. ============
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. .. rst-class:: classref-introduction-group
  11. Description
  12. -----------
  13. **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to **GLTFSkeleton** within a script will cause an error in an exported project.
  14. .. rst-class:: classref-reftable-group
  15. Properties
  16. ----------
  17. .. table::
  18. :widths: auto
  19. +-----------------------------------------+---------------------------------------------------+----------------------+
  20. | :ref:`PoolIntArray<class_PoolIntArray>` | :ref:`joints<class_GLTFSkeleton_property_joints>` | ``PoolIntArray( )`` |
  21. +-----------------------------------------+---------------------------------------------------+----------------------+
  22. | :ref:`PoolIntArray<class_PoolIntArray>` | :ref:`roots<class_GLTFSkeleton_property_roots>` | ``PoolIntArray( )`` |
  23. +-----------------------------------------+---------------------------------------------------+----------------------+
  24. .. rst-class:: classref-reftable-group
  25. Methods
  26. -------
  27. .. table::
  28. :widths: auto
  29. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  30. | :ref:`BoneAttachment<class_BoneAttachment>` | :ref:`get_bone_attachment<class_GLTFSkeleton_method_get_bone_attachment>` **(** :ref:`int<class_int>` idx **)** |
  31. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  32. | :ref:`int<class_int>` | :ref:`get_bone_attachment_count<class_GLTFSkeleton_method_get_bone_attachment_count>` **(** **)** |
  33. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  34. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_godot_bone_node<class_GLTFSkeleton_method_get_godot_bone_node>` **(** **)** |
  35. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  36. | :ref:`Skeleton<class_Skeleton>` | :ref:`get_godot_skeleton<class_GLTFSkeleton_method_get_godot_skeleton>` **(** **)** |
  37. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  38. | :ref:`Array<class_Array>` | :ref:`get_unique_names<class_GLTFSkeleton_method_get_unique_names>` **(** **)** |
  39. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  40. | void | :ref:`set_godot_bone_node<class_GLTFSkeleton_method_set_godot_bone_node>` **(** :ref:`Dictionary<class_Dictionary>` godot_bone_node **)** |
  41. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  42. | void | :ref:`set_unique_names<class_GLTFSkeleton_method_set_unique_names>` **(** :ref:`Array<class_Array>` unique_names **)** |
  43. +---------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  44. .. rst-class:: classref-section-separator
  45. ----
  46. .. rst-class:: classref-descriptions-group
  47. Property Descriptions
  48. ---------------------
  49. .. _class_GLTFSkeleton_property_joints:
  50. .. rst-class:: classref-property
  51. :ref:`PoolIntArray<class_PoolIntArray>` **joints** = ``PoolIntArray( )``
  52. .. rst-class:: classref-property-setget
  53. - void **set_joints** **(** :ref:`PoolIntArray<class_PoolIntArray>` value **)**
  54. - :ref:`PoolIntArray<class_PoolIntArray>` **get_joints** **(** **)**
  55. .. container:: contribute
  56. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  57. .. rst-class:: classref-item-separator
  58. ----
  59. .. _class_GLTFSkeleton_property_roots:
  60. .. rst-class:: classref-property
  61. :ref:`PoolIntArray<class_PoolIntArray>` **roots** = ``PoolIntArray( )``
  62. .. rst-class:: classref-property-setget
  63. - void **set_roots** **(** :ref:`PoolIntArray<class_PoolIntArray>` value **)**
  64. - :ref:`PoolIntArray<class_PoolIntArray>` **get_roots** **(** **)**
  65. .. container:: contribute
  66. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  67. .. rst-class:: classref-section-separator
  68. ----
  69. .. rst-class:: classref-descriptions-group
  70. Method Descriptions
  71. -------------------
  72. .. _class_GLTFSkeleton_method_get_bone_attachment:
  73. .. rst-class:: classref-method
  74. :ref:`BoneAttachment<class_BoneAttachment>` **get_bone_attachment** **(** :ref:`int<class_int>` idx **)**
  75. .. container:: contribute
  76. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  77. .. rst-class:: classref-item-separator
  78. ----
  79. .. _class_GLTFSkeleton_method_get_bone_attachment_count:
  80. .. rst-class:: classref-method
  81. :ref:`int<class_int>` **get_bone_attachment_count** **(** **)**
  82. .. container:: contribute
  83. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  84. .. rst-class:: classref-item-separator
  85. ----
  86. .. _class_GLTFSkeleton_method_get_godot_bone_node:
  87. .. rst-class:: classref-method
  88. :ref:`Dictionary<class_Dictionary>` **get_godot_bone_node** **(** **)**
  89. .. container:: contribute
  90. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  91. .. rst-class:: classref-item-separator
  92. ----
  93. .. _class_GLTFSkeleton_method_get_godot_skeleton:
  94. .. rst-class:: classref-method
  95. :ref:`Skeleton<class_Skeleton>` **get_godot_skeleton** **(** **)**
  96. .. container:: contribute
  97. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  98. .. rst-class:: classref-item-separator
  99. ----
  100. .. _class_GLTFSkeleton_method_get_unique_names:
  101. .. rst-class:: classref-method
  102. :ref:`Array<class_Array>` **get_unique_names** **(** **)**
  103. .. container:: contribute
  104. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  105. .. rst-class:: classref-item-separator
  106. ----
  107. .. _class_GLTFSkeleton_method_set_godot_bone_node:
  108. .. rst-class:: classref-method
  109. void **set_godot_bone_node** **(** :ref:`Dictionary<class_Dictionary>` godot_bone_node **)**
  110. .. container:: contribute
  111. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  112. .. rst-class:: classref-item-separator
  113. ----
  114. .. _class_GLTFSkeleton_method_set_unique_names:
  115. .. rst-class:: classref-method
  116. void **set_unique_names** **(** :ref:`Array<class_Array>` 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. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`