2
0

class_ikmodifier3d.rst 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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/IKModifier3D.xml.
  6. .. _class_IKModifier3D:
  7. IKModifier3D
  8. ============
  9. **Inherits:** :ref:`SkeletonModifier3D<class_SkeletonModifier3D>` **<** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`ChainIK3D<class_ChainIK3D>`, :ref:`TwoBoneIK3D<class_TwoBoneIK3D>`
  11. A node for inverse kinematics which may modify more than one bone.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. Base class of :ref:`SkeletonModifier3D<class_SkeletonModifier3D>`\ s that has some joint lists and applies inverse kinematics. This class has some structs, enums, and helper methods which are useful to solve inverse kinematics.
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-------------------------+-------------------------------------------------------------------------+----------+
  22. | :ref:`bool<class_bool>` | :ref:`mutable_bone_axes<class_IKModifier3D_property_mutable_bone_axes>` | ``true`` |
  23. +-------------------------+-------------------------------------------------------------------------+----------+
  24. .. rst-class:: classref-reftable-group
  25. Methods
  26. -------
  27. .. table::
  28. :widths: auto
  29. +-----------------------+------------------------------------------------------------------------------------------------------------+
  30. | |void| | :ref:`clear_settings<class_IKModifier3D_method_clear_settings>`\ (\ ) |
  31. +-----------------------+------------------------------------------------------------------------------------------------------------+
  32. | :ref:`int<class_int>` | :ref:`get_setting_count<class_IKModifier3D_method_get_setting_count>`\ (\ ) |const| |
  33. +-----------------------+------------------------------------------------------------------------------------------------------------+
  34. | |void| | :ref:`reset<class_IKModifier3D_method_reset>`\ (\ ) |
  35. +-----------------------+------------------------------------------------------------------------------------------------------------+
  36. | |void| | :ref:`set_setting_count<class_IKModifier3D_method_set_setting_count>`\ (\ count\: :ref:`int<class_int>`\ ) |
  37. +-----------------------+------------------------------------------------------------------------------------------------------------+
  38. .. rst-class:: classref-section-separator
  39. ----
  40. .. rst-class:: classref-descriptions-group
  41. Property Descriptions
  42. ---------------------
  43. .. _class_IKModifier3D_property_mutable_bone_axes:
  44. .. rst-class:: classref-property
  45. :ref:`bool<class_bool>` **mutable_bone_axes** = ``true`` :ref:`🔗<class_IKModifier3D_property_mutable_bone_axes>`
  46. .. rst-class:: classref-property-setget
  47. - |void| **set_mutable_bone_axes**\ (\ value\: :ref:`bool<class_bool>`\ )
  48. - :ref:`bool<class_bool>` **are_bone_axes_mutable**\ (\ )
  49. If ``true``, the solver retrieves the bone axis from the bone pose every frame.
  50. If ``false``, the solver retrieves the bone axis from the bone rest and caches it, which increases performance slightly, but position changes in the bone pose made before processing this **IKModifier3D** are ignored.
  51. .. rst-class:: classref-section-separator
  52. ----
  53. .. rst-class:: classref-descriptions-group
  54. Method Descriptions
  55. -------------------
  56. .. _class_IKModifier3D_method_clear_settings:
  57. .. rst-class:: classref-method
  58. |void| **clear_settings**\ (\ ) :ref:`🔗<class_IKModifier3D_method_clear_settings>`
  59. Clears all settings.
  60. .. rst-class:: classref-item-separator
  61. ----
  62. .. _class_IKModifier3D_method_get_setting_count:
  63. .. rst-class:: classref-method
  64. :ref:`int<class_int>` **get_setting_count**\ (\ ) |const| :ref:`🔗<class_IKModifier3D_method_get_setting_count>`
  65. Returns the number of settings.
  66. .. rst-class:: classref-item-separator
  67. ----
  68. .. _class_IKModifier3D_method_reset:
  69. .. rst-class:: classref-method
  70. |void| **reset**\ (\ ) :ref:`🔗<class_IKModifier3D_method_reset>`
  71. Resets a state with respect to the current bone pose.
  72. .. rst-class:: classref-item-separator
  73. ----
  74. .. _class_IKModifier3D_method_set_setting_count:
  75. .. rst-class:: classref-method
  76. |void| **set_setting_count**\ (\ count\: :ref:`int<class_int>`\ ) :ref:`🔗<class_IKModifier3D_method_set_setting_count>`
  77. Sets the number of settings.
  78. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  79. .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
  80. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  81. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  82. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  83. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  84. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  85. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  86. .. |void| replace:: :abbr:`void (No return value.)`