class_gltfskin.rst 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the GLTFSkin.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_GLTFSkin:
  6. GLTFSkin
  7. ========
  8. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  12. | :ref:`Skin<class_Skin>` | :ref:`godot_skin<class_GLTFSkin_property_godot_skin>` | |
  13. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  14. | :ref:`PoolIntArray<class_PoolIntArray>` | :ref:`joints<class_GLTFSkin_property_joints>` | ``PoolIntArray( )`` |
  15. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  16. | :ref:`PoolIntArray<class_PoolIntArray>` | :ref:`joints_original<class_GLTFSkin_property_joints_original>` | ``PoolIntArray( )`` |
  17. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  18. | :ref:`PoolIntArray<class_PoolIntArray>` | :ref:`non_joints<class_GLTFSkin_property_non_joints>` | ``PoolIntArray( )`` |
  19. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  20. | :ref:`PoolIntArray<class_PoolIntArray>` | :ref:`roots<class_GLTFSkin_property_roots>` | ``PoolIntArray( )`` |
  21. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  22. | :ref:`int<class_int>` | :ref:`skeleton<class_GLTFSkin_property_skeleton>` | ``-1`` |
  23. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  24. | :ref:`int<class_int>` | :ref:`skin_root<class_GLTFSkin_property_skin_root>` | ``-1`` |
  25. +-----------------------------------------+-----------------------------------------------------------------+----------------------+
  26. Methods
  27. -------
  28. +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`Array<class_Array>` | :ref:`get_inverse_binds<class_GLTFSkin_method_get_inverse_binds>` **(** **)** |
  30. +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_joint_i_to_bone_i<class_GLTFSkin_method_get_joint_i_to_bone_i>` **(** **)** |
  32. +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  33. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_joint_i_to_name<class_GLTFSkin_method_get_joint_i_to_name>` **(** **)** |
  34. +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  35. | void | :ref:`set_inverse_binds<class_GLTFSkin_method_set_inverse_binds>` **(** :ref:`Array<class_Array>` inverse_binds **)** |
  36. +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  37. | void | :ref:`set_joint_i_to_bone_i<class_GLTFSkin_method_set_joint_i_to_bone_i>` **(** :ref:`Dictionary<class_Dictionary>` joint_i_to_bone_i **)** |
  38. +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  39. | void | :ref:`set_joint_i_to_name<class_GLTFSkin_method_set_joint_i_to_name>` **(** :ref:`Dictionary<class_Dictionary>` joint_i_to_name **)** |
  40. +-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  41. Property Descriptions
  42. ---------------------
  43. .. _class_GLTFSkin_property_godot_skin:
  44. - :ref:`Skin<class_Skin>` **godot_skin**
  45. +----------+-----------------------+
  46. | *Setter* | set_godot_skin(value) |
  47. +----------+-----------------------+
  48. | *Getter* | get_godot_skin() |
  49. +----------+-----------------------+
  50. ----
  51. .. _class_GLTFSkin_property_joints:
  52. - :ref:`PoolIntArray<class_PoolIntArray>` **joints**
  53. +-----------+----------------------+
  54. | *Default* | ``PoolIntArray( )`` |
  55. +-----------+----------------------+
  56. | *Setter* | set_joints(value) |
  57. +-----------+----------------------+
  58. | *Getter* | get_joints() |
  59. +-----------+----------------------+
  60. ----
  61. .. _class_GLTFSkin_property_joints_original:
  62. - :ref:`PoolIntArray<class_PoolIntArray>` **joints_original**
  63. +-----------+----------------------------+
  64. | *Default* | ``PoolIntArray( )`` |
  65. +-----------+----------------------------+
  66. | *Setter* | set_joints_original(value) |
  67. +-----------+----------------------------+
  68. | *Getter* | get_joints_original() |
  69. +-----------+----------------------------+
  70. ----
  71. .. _class_GLTFSkin_property_non_joints:
  72. - :ref:`PoolIntArray<class_PoolIntArray>` **non_joints**
  73. +-----------+-----------------------+
  74. | *Default* | ``PoolIntArray( )`` |
  75. +-----------+-----------------------+
  76. | *Setter* | set_non_joints(value) |
  77. +-----------+-----------------------+
  78. | *Getter* | get_non_joints() |
  79. +-----------+-----------------------+
  80. ----
  81. .. _class_GLTFSkin_property_roots:
  82. - :ref:`PoolIntArray<class_PoolIntArray>` **roots**
  83. +-----------+----------------------+
  84. | *Default* | ``PoolIntArray( )`` |
  85. +-----------+----------------------+
  86. | *Setter* | set_roots(value) |
  87. +-----------+----------------------+
  88. | *Getter* | get_roots() |
  89. +-----------+----------------------+
  90. ----
  91. .. _class_GLTFSkin_property_skeleton:
  92. - :ref:`int<class_int>` **skeleton**
  93. +-----------+---------------------+
  94. | *Default* | ``-1`` |
  95. +-----------+---------------------+
  96. | *Setter* | set_skeleton(value) |
  97. +-----------+---------------------+
  98. | *Getter* | get_skeleton() |
  99. +-----------+---------------------+
  100. ----
  101. .. _class_GLTFSkin_property_skin_root:
  102. - :ref:`int<class_int>` **skin_root**
  103. +-----------+----------------------+
  104. | *Default* | ``-1`` |
  105. +-----------+----------------------+
  106. | *Setter* | set_skin_root(value) |
  107. +-----------+----------------------+
  108. | *Getter* | get_skin_root() |
  109. +-----------+----------------------+
  110. Method Descriptions
  111. -------------------
  112. .. _class_GLTFSkin_method_get_inverse_binds:
  113. - :ref:`Array<class_Array>` **get_inverse_binds** **(** **)**
  114. ----
  115. .. _class_GLTFSkin_method_get_joint_i_to_bone_i:
  116. - :ref:`Dictionary<class_Dictionary>` **get_joint_i_to_bone_i** **(** **)**
  117. ----
  118. .. _class_GLTFSkin_method_get_joint_i_to_name:
  119. - :ref:`Dictionary<class_Dictionary>` **get_joint_i_to_name** **(** **)**
  120. ----
  121. .. _class_GLTFSkin_method_set_inverse_binds:
  122. - void **set_inverse_binds** **(** :ref:`Array<class_Array>` inverse_binds **)**
  123. ----
  124. .. _class_GLTFSkin_method_set_joint_i_to_bone_i:
  125. - void **set_joint_i_to_bone_i** **(** :ref:`Dictionary<class_Dictionary>` joint_i_to_bone_i **)**
  126. ----
  127. .. _class_GLTFSkin_method_set_joint_i_to_name:
  128. - void **set_joint_i_to_name** **(** :ref:`Dictionary<class_Dictionary>` joint_i_to_name **)**
  129. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  130. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  131. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`