class_gltfskeleton.rst 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. Properties
  11. ----------
  12. +-------------------------------------------------+---------------------------------------------------+------------------------+
  13. | :ref:`PackedInt32Array<class_PackedInt32Array>` | :ref:`joints<class_GLTFSkeleton_property_joints>` | ``PackedInt32Array()`` |
  14. +-------------------------------------------------+---------------------------------------------------+------------------------+
  15. | :ref:`PackedInt32Array<class_PackedInt32Array>` | :ref:`roots<class_GLTFSkeleton_property_roots>` | ``PackedInt32Array()`` |
  16. +-------------------------------------------------+---------------------------------------------------+------------------------+
  17. Methods
  18. -------
  19. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  20. | :ref:`BoneAttachment3D<class_BoneAttachment3D>` | :ref:`get_bone_attachment<class_GLTFSkeleton_method_get_bone_attachment>` **(** :ref:`int<class_int>` idx **)** |
  21. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  22. | :ref:`int<class_int>` | :ref:`get_bone_attachment_count<class_GLTFSkeleton_method_get_bone_attachment_count>` **(** **)** |
  23. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  24. | :ref:`Dictionary<class_Dictionary>` | :ref:`get_godot_bone_node<class_GLTFSkeleton_method_get_godot_bone_node>` **(** **)** |
  25. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  26. | :ref:`Skeleton3D<class_Skeleton3D>` | :ref:`get_godot_skeleton<class_GLTFSkeleton_method_get_godot_skeleton>` **(** **)** |
  27. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  28. | :ref:`Array<class_Array>` | :ref:`get_unique_names<class_GLTFSkeleton_method_get_unique_names>` **(** **)** |
  29. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`set_godot_bone_node<class_GLTFSkeleton_method_set_godot_bone_node>` **(** :ref:`Dictionary<class_Dictionary>` godot_bone_node **)** |
  31. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`set_unique_names<class_GLTFSkeleton_method_set_unique_names>` **(** :ref:`Array<class_Array>` unique_names **)** |
  33. +-------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
  34. Property Descriptions
  35. ---------------------
  36. .. _class_GLTFSkeleton_property_joints:
  37. - :ref:`PackedInt32Array<class_PackedInt32Array>` **joints**
  38. +-----------+------------------------+
  39. | *Default* | ``PackedInt32Array()`` |
  40. +-----------+------------------------+
  41. | *Setter* | set_joints(value) |
  42. +-----------+------------------------+
  43. | *Getter* | get_joints() |
  44. +-----------+------------------------+
  45. ----
  46. .. _class_GLTFSkeleton_property_roots:
  47. - :ref:`PackedInt32Array<class_PackedInt32Array>` **roots**
  48. +-----------+------------------------+
  49. | *Default* | ``PackedInt32Array()`` |
  50. +-----------+------------------------+
  51. | *Setter* | set_roots(value) |
  52. +-----------+------------------------+
  53. | *Getter* | get_roots() |
  54. +-----------+------------------------+
  55. Method Descriptions
  56. -------------------
  57. .. _class_GLTFSkeleton_method_get_bone_attachment:
  58. - :ref:`BoneAttachment3D<class_BoneAttachment3D>` **get_bone_attachment** **(** :ref:`int<class_int>` idx **)**
  59. ----
  60. .. _class_GLTFSkeleton_method_get_bone_attachment_count:
  61. - :ref:`int<class_int>` **get_bone_attachment_count** **(** **)**
  62. ----
  63. .. _class_GLTFSkeleton_method_get_godot_bone_node:
  64. - :ref:`Dictionary<class_Dictionary>` **get_godot_bone_node** **(** **)**
  65. ----
  66. .. _class_GLTFSkeleton_method_get_godot_skeleton:
  67. - :ref:`Skeleton3D<class_Skeleton3D>` **get_godot_skeleton** **(** **)**
  68. ----
  69. .. _class_GLTFSkeleton_method_get_unique_names:
  70. - :ref:`Array<class_Array>` **get_unique_names** **(** **)**
  71. ----
  72. .. _class_GLTFSkeleton_method_set_godot_bone_node:
  73. - void **set_godot_bone_node** **(** :ref:`Dictionary<class_Dictionary>` godot_bone_node **)**
  74. ----
  75. .. _class_GLTFSkeleton_method_set_unique_names:
  76. - void **set_unique_names** **(** :ref:`Array<class_Array>` unique_names **)**
  77. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  78. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  79. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  80. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  81. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  82. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`