class_skeletonprofilehumanoid.rst 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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/doc/classes/SkeletonProfileHumanoid.xml.
  6. .. _class_SkeletonProfileHumanoid:
  7. SkeletonProfileHumanoid
  8. =======================
  9. **Inherits:** :ref:`SkeletonProfile<class_SkeletonProfile>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. A humanoid :ref:`SkeletonProfile<class_SkeletonProfile>` preset.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. A :ref:`SkeletonProfile<class_SkeletonProfile>` as a preset that is optimized for the human form. This exists for standardization, so all parameters are read-only.
  15. A humanoid skeleton profile contains 54 bones divided in 4 groups: ``"Body"``, ``"Face"``, ``"LeftHand"``, and ``"RightHand"``. It is structured as follows:
  16. .. code:: text
  17. Root
  18. └─ Hips
  19. ├─ LeftUpperLeg
  20. │ └─ LeftLowerLeg
  21. │ └─ LeftFoot
  22. │ └─ LeftToes
  23. ├─ RightUpperLeg
  24. │ └─ RightLowerLeg
  25. │ └─ RightFoot
  26. │ └─ RightToes
  27. └─ Spine
  28. └─ Chest
  29. └─ UpperChest
  30. ├─ Neck
  31. │ └─ Head
  32. │ ├─ Jaw
  33. │ ├─ LeftEye
  34. │ └─ RightEye
  35. ├─ LeftShoulder
  36. │ └─ LeftUpperArm
  37. │ └─ LeftLowerArm
  38. │ └─ LeftHand
  39. │ ├─ LeftThumbMetacarpal
  40. │ │ └─ LeftThumbProximal
  41. │ │ └─ LeftThumbDistal
  42. │ ├─ LeftIndexProximal
  43. │ │ └─ LeftIndexIntermediate
  44. │ │ └─ LeftIndexDistal
  45. │ ├─ LeftMiddleProximal
  46. │ │ └─ LeftMiddleIntermediate
  47. │ │ └─ LeftMiddleDistal
  48. │ ├─ LeftRingProximal
  49. │ │ └─ LeftRingIntermediate
  50. │ │ └─ LeftRingDistal
  51. │ └─ LeftLittleProximal
  52. │ └─ LeftLittleIntermediate
  53. │ └─ LeftLittleDistal
  54. └─ RightShoulder
  55. └─ RightUpperArm
  56. └─ RightLowerArm
  57. └─ RightHand
  58. ├─ RightThumbMetacarpal
  59. │ └─ RightThumbProximal
  60. │ └─ RightThumbDistal
  61. ├─ RightIndexProximal
  62. │ └─ RightIndexIntermediate
  63. │ └─ RightIndexDistal
  64. ├─ RightMiddleProximal
  65. │ └─ RightMiddleIntermediate
  66. │ └─ RightMiddleDistal
  67. ├─ RightRingProximal
  68. │ └─ RightRingIntermediate
  69. │ └─ RightRingDistal
  70. └─ RightLittleProximal
  71. └─ RightLittleIntermediate
  72. └─ RightLittleDistal
  73. .. rst-class:: classref-introduction-group
  74. Tutorials
  75. ---------
  76. - :doc:`Retargeting 3D Skeletons <../tutorials/assets_pipeline/retargeting_3d_skeletons>`
  77. .. rst-class:: classref-reftable-group
  78. Properties
  79. ----------
  80. .. table::
  81. :widths: auto
  82. +-------------------------------------+-----------------+------------------------------------------------------------------------------------------------+
  83. | :ref:`int<class_int>` | bone_size | ``56`` (overrides :ref:`SkeletonProfile<class_SkeletonProfile_property_bone_size>`) |
  84. +-------------------------------------+-----------------+------------------------------------------------------------------------------------------------+
  85. | :ref:`int<class_int>` | group_size | ``4`` (overrides :ref:`SkeletonProfile<class_SkeletonProfile_property_group_size>`) |
  86. +-------------------------------------+-----------------+------------------------------------------------------------------------------------------------+
  87. | :ref:`StringName<class_StringName>` | root_bone | ``&"Root"`` (overrides :ref:`SkeletonProfile<class_SkeletonProfile_property_root_bone>`) |
  88. +-------------------------------------+-----------------+------------------------------------------------------------------------------------------------+
  89. | :ref:`StringName<class_StringName>` | scale_base_bone | ``&"Hips"`` (overrides :ref:`SkeletonProfile<class_SkeletonProfile_property_scale_base_bone>`) |
  90. +-------------------------------------+-----------------+------------------------------------------------------------------------------------------------+
  91. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  92. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  93. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  94. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  95. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  96. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  97. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  98. .. |void| replace:: :abbr:`void (No return value.)`