class_gltfskeleton.rst 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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-reftable-group
  13. Properties
  14. ----------
  15. .. table::
  16. :widths: auto
  17. +-------------------------------------------------+---------------------------------------------------+------------------------+
  18. | :ref:`PackedInt32Array<class_PackedInt32Array>` | :ref:`joints<class_GLTFSkeleton_property_joints>` | ``PackedInt32Array()`` |
  19. +-------------------------------------------------+---------------------------------------------------+------------------------+
  20. | :ref:`PackedInt32Array<class_PackedInt32Array>` | :ref:`roots<class_GLTFSkeleton_property_roots>` | ``PackedInt32Array()`` |
  21. +-------------------------------------------------+---------------------------------------------------+------------------------+
  22. .. rst-class:: classref-reftable-group
  23. Methods
  24. -------
  25. .. table::
  26. :widths: auto
  27. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  28. | :ref:`BoneAttachment3D<class_BoneAttachment3D>` | :ref:`get_bone_attachment<class_GLTFSkeleton_method_get_bone_attachment>` **(** :ref:`int<class_int>` idx **)** |
  29. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  30. | :ref:`int<class_int>` | :ref:`get_bone_attachment_count<class_GLTFSkeleton_method_get_bone_attachment_count>` **(** **)** |
  31. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  32. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_godot_bone_node<class_GLTFSkeleton_method_get_godot_bone_node>` **(** **)** |
  33. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  34. | :ref:`Skeleton3D<class_Skeleton3D>` | :ref:`get_godot_skeleton<class_GLTFSkeleton_method_get_godot_skeleton>` **(** **)** |
  35. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  36. | :ref:`String[]<class_String>` | :ref:`get_unique_names<class_GLTFSkeleton_method_get_unique_names>` **(** **)** |
  37. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  38. | void | :ref:`set_godot_bone_node<class_GLTFSkeleton_method_set_godot_bone_node>` **(** :ref:`Dictionary<class_Dictionary>` godot_bone_node **)** |
  39. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  40. | void | :ref:`set_unique_names<class_GLTFSkeleton_method_set_unique_names>` **(** :ref:`String[]<class_String>` unique_names **)** |
  41. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  42. .. rst-class:: classref-section-separator
  43. ----
  44. .. rst-class:: classref-descriptions-group
  45. Property Descriptions
  46. ---------------------
  47. .. _class_GLTFSkeleton_property_joints:
  48. .. rst-class:: classref-property
  49. :ref:`PackedInt32Array<class_PackedInt32Array>` **joints** = ``PackedInt32Array()``
  50. .. rst-class:: classref-property-setget
  51. - void **set_joints** **(** :ref:`PackedInt32Array<class_PackedInt32Array>` value **)**
  52. - :ref:`PackedInt32Array<class_PackedInt32Array>` **get_joints** **(** **)**
  53. .. container:: contribute
  54. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  55. .. rst-class:: classref-item-separator
  56. ----
  57. .. _class_GLTFSkeleton_property_roots:
  58. .. rst-class:: classref-property
  59. :ref:`PackedInt32Array<class_PackedInt32Array>` **roots** = ``PackedInt32Array()``
  60. .. rst-class:: classref-property-setget
  61. - void **set_roots** **(** :ref:`PackedInt32Array<class_PackedInt32Array>` value **)**
  62. - :ref:`PackedInt32Array<class_PackedInt32Array>` **get_roots** **(** **)**
  63. .. container:: contribute
  64. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  65. .. rst-class:: classref-section-separator
  66. ----
  67. .. rst-class:: classref-descriptions-group
  68. Method Descriptions
  69. -------------------
  70. .. _class_GLTFSkeleton_method_get_bone_attachment:
  71. .. rst-class:: classref-method
  72. :ref:`BoneAttachment3D<class_BoneAttachment3D>` **get_bone_attachment** **(** :ref:`int<class_int>` idx **)**
  73. .. container:: contribute
  74. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  75. .. rst-class:: classref-item-separator
  76. ----
  77. .. _class_GLTFSkeleton_method_get_bone_attachment_count:
  78. .. rst-class:: classref-method
  79. :ref:`int<class_int>` **get_bone_attachment_count** **(** **)**
  80. .. container:: contribute
  81. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  82. .. rst-class:: classref-item-separator
  83. ----
  84. .. _class_GLTFSkeleton_method_get_godot_bone_node:
  85. .. rst-class:: classref-method
  86. :ref:`Dictionary<class_Dictionary>` **get_godot_bone_node** **(** **)**
  87. 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.
  88. .. rst-class:: classref-item-separator
  89. ----
  90. .. _class_GLTFSkeleton_method_get_godot_skeleton:
  91. .. rst-class:: classref-method
  92. :ref:`Skeleton3D<class_Skeleton3D>` **get_godot_skeleton** **(** **)**
  93. .. container:: contribute
  94. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  95. .. rst-class:: classref-item-separator
  96. ----
  97. .. _class_GLTFSkeleton_method_get_unique_names:
  98. .. rst-class:: classref-method
  99. :ref:`String[]<class_String>` **get_unique_names** **(** **)**
  100. .. container:: contribute
  101. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  102. .. rst-class:: classref-item-separator
  103. ----
  104. .. _class_GLTFSkeleton_method_set_godot_bone_node:
  105. .. rst-class:: classref-method
  106. void **set_godot_bone_node** **(** :ref:`Dictionary<class_Dictionary>` godot_bone_node **)**
  107. 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.
  108. .. rst-class:: classref-item-separator
  109. ----
  110. .. _class_GLTFSkeleton_method_set_unique_names:
  111. .. rst-class:: classref-method
  112. void **set_unique_names** **(** :ref:`String[]<class_String>` unique_names **)**
  113. .. container:: contribute
  114. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  115. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  116. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  117. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  118. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  119. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  120. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  121. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`