class_animationnodeblendtree.rst 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the AnimationNodeBlendTree.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_AnimationNodeBlendTree:
  6. AnimationNodeBlendTree
  7. ======================
  8. **Inherits:** :ref:`AnimationRootNode<class_AnimationRootNode>` **<** :ref:`AnimationNode<class_AnimationNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-------------------------------+-------------------------------------------------------------------------+---------------------+
  12. | :ref:`Vector2<class_Vector2>` | :ref:`graph_offset<class_AnimationNodeBlendTree_property_graph_offset>` | ``Vector2( 0, 0 )`` |
  13. +-------------------------------+-------------------------------------------------------------------------+---------------------+
  14. Methods
  15. -------
  16. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`add_node<class_AnimationNodeBlendTree_method_add_node>` **(** :ref:`String<class_String>` name, :ref:`AnimationNode<class_AnimationNode>` node, :ref:`Vector2<class_Vector2>` position=Vector2( 0, 0 ) **)** |
  18. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`connect_node<class_AnimationNodeBlendTree_method_connect_node>` **(** :ref:`String<class_String>` input_node, :ref:`int<class_int>` input_index, :ref:`String<class_String>` output_node **)** |
  20. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`disconnect_node<class_AnimationNodeBlendTree_method_disconnect_node>` **(** :ref:`String<class_String>` input_node, :ref:`int<class_int>` input_index **)** |
  22. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`AnimationNode<class_AnimationNode>` | :ref:`get_node<class_AnimationNodeBlendTree_method_get_node>` **(** :ref:`String<class_String>` name **)** const |
  24. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`Vector2<class_Vector2>` | :ref:`get_node_position<class_AnimationNodeBlendTree_method_get_node_position>` **(** :ref:`String<class_String>` name **)** const |
  26. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`bool<class_bool>` | :ref:`has_node<class_AnimationNodeBlendTree_method_has_node>` **(** :ref:`String<class_String>` name **)** const |
  28. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  29. | void | :ref:`remove_node<class_AnimationNodeBlendTree_method_remove_node>` **(** :ref:`String<class_String>` name **)** |
  30. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  31. | void | :ref:`rename_node<class_AnimationNodeBlendTree_method_rename_node>` **(** :ref:`String<class_String>` name, :ref:`String<class_String>` new_name **)** |
  32. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  33. | void | :ref:`set_node_position<class_AnimationNodeBlendTree_method_set_node_position>` **(** :ref:`String<class_String>` name, :ref:`Vector2<class_Vector2>` position **)** |
  34. +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  35. Constants
  36. ---------
  37. .. _class_AnimationNodeBlendTree_constant_CONNECTION_OK:
  38. .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_NO_INPUT:
  39. .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_NO_INPUT_INDEX:
  40. .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_NO_OUTPUT:
  41. .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_SAME_NODE:
  42. .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_CONNECTION_EXISTS:
  43. - **CONNECTION_OK** = **0**
  44. - **CONNECTION_ERROR_NO_INPUT** = **1**
  45. - **CONNECTION_ERROR_NO_INPUT_INDEX** = **2**
  46. - **CONNECTION_ERROR_NO_OUTPUT** = **3**
  47. - **CONNECTION_ERROR_SAME_NODE** = **4**
  48. - **CONNECTION_ERROR_CONNECTION_EXISTS** = **5**
  49. Property Descriptions
  50. ---------------------
  51. .. _class_AnimationNodeBlendTree_property_graph_offset:
  52. - :ref:`Vector2<class_Vector2>` **graph_offset**
  53. +-----------+-------------------------+
  54. | *Default* | ``Vector2( 0, 0 )`` |
  55. +-----------+-------------------------+
  56. | *Setter* | set_graph_offset(value) |
  57. +-----------+-------------------------+
  58. | *Getter* | get_graph_offset() |
  59. +-----------+-------------------------+
  60. Method Descriptions
  61. -------------------
  62. .. _class_AnimationNodeBlendTree_method_add_node:
  63. - void **add_node** **(** :ref:`String<class_String>` name, :ref:`AnimationNode<class_AnimationNode>` node, :ref:`Vector2<class_Vector2>` position=Vector2( 0, 0 ) **)**
  64. ----
  65. .. _class_AnimationNodeBlendTree_method_connect_node:
  66. - void **connect_node** **(** :ref:`String<class_String>` input_node, :ref:`int<class_int>` input_index, :ref:`String<class_String>` output_node **)**
  67. ----
  68. .. _class_AnimationNodeBlendTree_method_disconnect_node:
  69. - void **disconnect_node** **(** :ref:`String<class_String>` input_node, :ref:`int<class_int>` input_index **)**
  70. ----
  71. .. _class_AnimationNodeBlendTree_method_get_node:
  72. - :ref:`AnimationNode<class_AnimationNode>` **get_node** **(** :ref:`String<class_String>` name **)** const
  73. ----
  74. .. _class_AnimationNodeBlendTree_method_get_node_position:
  75. - :ref:`Vector2<class_Vector2>` **get_node_position** **(** :ref:`String<class_String>` name **)** const
  76. ----
  77. .. _class_AnimationNodeBlendTree_method_has_node:
  78. - :ref:`bool<class_bool>` **has_node** **(** :ref:`String<class_String>` name **)** const
  79. ----
  80. .. _class_AnimationNodeBlendTree_method_remove_node:
  81. - void **remove_node** **(** :ref:`String<class_String>` name **)**
  82. ----
  83. .. _class_AnimationNodeBlendTree_method_rename_node:
  84. - void **rename_node** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` new_name **)**
  85. ----
  86. .. _class_AnimationNodeBlendTree_method_set_node_position:
  87. - void **set_node_position** **(** :ref:`String<class_String>` name, :ref:`Vector2<class_Vector2>` position **)**