class_animationtree.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the AnimationTree.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_AnimationTree:
  5. AnimationTree
  6. =============
  7. **Inherits:** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Properties
  12. ----------
  13. +----------------------------------------------------------------------+--------------------------------------------------------------------------+
  14. | :ref:`bool<class_bool>` | :ref:`active<class_AnimationTree_property_active>` |
  15. +----------------------------------------------------------------------+--------------------------------------------------------------------------+
  16. | :ref:`NodePath<class_NodePath>` | :ref:`anim_player<class_AnimationTree_property_anim_player>` |
  17. +----------------------------------------------------------------------+--------------------------------------------------------------------------+
  18. | :ref:`AnimationProcessMode<enum_AnimationTree_AnimationProcessMode>` | :ref:`process_mode<class_AnimationTree_property_process_mode>` |
  19. +----------------------------------------------------------------------+--------------------------------------------------------------------------+
  20. | :ref:`NodePath<class_NodePath>` | :ref:`root_motion_track<class_AnimationTree_property_root_motion_track>` |
  21. +----------------------------------------------------------------------+--------------------------------------------------------------------------+
  22. | :ref:`AnimationNode<class_AnimationNode>` | :ref:`tree_root<class_AnimationTree_property_tree_root>` |
  23. +----------------------------------------------------------------------+--------------------------------------------------------------------------+
  24. Methods
  25. -------
  26. +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  27. | void | :ref:`advance<class_AnimationTree_method_advance>` **(** :ref:`float<class_float>` delta **)** |
  28. +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`Transform<class_Transform>` | :ref:`get_root_motion_transform<class_AnimationTree_method_get_root_motion_transform>` **(** **)** const |
  30. +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  31. | void | :ref:`rename_parameter<class_AnimationTree_method_rename_parameter>` **(** :ref:`String<class_String>` old_name, :ref:`String<class_String>` new_name **)** |
  32. +-----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
  33. Enumerations
  34. ------------
  35. .. _enum_AnimationTree_AnimationProcessMode:
  36. .. _class_AnimationTree_constant_ANIMATION_PROCESS_PHYSICS:
  37. .. _class_AnimationTree_constant_ANIMATION_PROCESS_IDLE:
  38. .. _class_AnimationTree_constant_ANIMATION_PROCESS_MANUAL:
  39. enum **AnimationProcessMode**:
  40. - **ANIMATION_PROCESS_PHYSICS** = **0**
  41. - **ANIMATION_PROCESS_IDLE** = **1**
  42. - **ANIMATION_PROCESS_MANUAL** = **2**
  43. Property Descriptions
  44. ---------------------
  45. .. _class_AnimationTree_property_active:
  46. - :ref:`bool<class_bool>` **active**
  47. +----------+-------------------+
  48. | *Setter* | set_active(value) |
  49. +----------+-------------------+
  50. | *Getter* | is_active() |
  51. +----------+-------------------+
  52. .. _class_AnimationTree_property_anim_player:
  53. - :ref:`NodePath<class_NodePath>` **anim_player**
  54. +----------+-----------------------------+
  55. | *Setter* | set_animation_player(value) |
  56. +----------+-----------------------------+
  57. | *Getter* | get_animation_player() |
  58. +----------+-----------------------------+
  59. .. _class_AnimationTree_property_process_mode:
  60. - :ref:`AnimationProcessMode<enum_AnimationTree_AnimationProcessMode>` **process_mode**
  61. +----------+-------------------------+
  62. | *Setter* | set_process_mode(value) |
  63. +----------+-------------------------+
  64. | *Getter* | get_process_mode() |
  65. +----------+-------------------------+
  66. .. _class_AnimationTree_property_root_motion_track:
  67. - :ref:`NodePath<class_NodePath>` **root_motion_track**
  68. +----------+------------------------------+
  69. | *Setter* | set_root_motion_track(value) |
  70. +----------+------------------------------+
  71. | *Getter* | get_root_motion_track() |
  72. +----------+------------------------------+
  73. .. _class_AnimationTree_property_tree_root:
  74. - :ref:`AnimationNode<class_AnimationNode>` **tree_root**
  75. +----------+----------------------+
  76. | *Setter* | set_tree_root(value) |
  77. +----------+----------------------+
  78. | *Getter* | get_tree_root() |
  79. +----------+----------------------+
  80. Method Descriptions
  81. -------------------
  82. .. _class_AnimationTree_method_advance:
  83. - void **advance** **(** :ref:`float<class_float>` delta **)**
  84. .. _class_AnimationTree_method_get_root_motion_transform:
  85. - :ref:`Transform<class_Transform>` **get_root_motion_transform** **(** **)** const
  86. .. _class_AnimationTree_method_rename_parameter:
  87. - void **rename_parameter** **(** :ref:`String<class_String>` old_name, :ref:`String<class_String>` new_name **)**