:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the AnimationNodeBlendTree.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_AnimationNodeBlendTree: AnimationNodeBlendTree ====================== **Inherits:** :ref:`AnimationRootNode` **<** :ref:`AnimationNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Properties ---------- +-------------------------------+-------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`graph_offset` | +-------------------------------+-------------------------------------------------------------------------+ Methods ------- +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_node` **(** :ref:`String` name, :ref:`AnimationNode` node, :ref:`Vector2` position=Vector2( 0, 0 ) **)** | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`connect_node` **(** :ref:`String` input_node, :ref:`int` input_index, :ref:`String` output_node **)** | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`disconnect_node` **(** :ref:`String` input_node, :ref:`int` input_index **)** | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`AnimationNode` | :ref:`get_node` **(** :ref:`String` name **)** const | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_node_position` **(** :ref:`String` name **)** const | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_node` **(** :ref:`String` name **)** const | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_node` **(** :ref:`String` name **)** | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`rename_node` **(** :ref:`String` name, :ref:`String` new_name **)** | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_node_position` **(** :ref:`String` name, :ref:`Vector2` position **)** | +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Constants --------- .. _class_AnimationNodeBlendTree_constant_CONNECTION_OK: .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_NO_INPUT: .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_NO_INPUT_INDEX: .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_NO_OUTPUT: .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_SAME_NODE: .. _class_AnimationNodeBlendTree_constant_CONNECTION_ERROR_CONNECTION_EXISTS: - **CONNECTION_OK** = **0** - **CONNECTION_ERROR_NO_INPUT** = **1** - **CONNECTION_ERROR_NO_INPUT_INDEX** = **2** - **CONNECTION_ERROR_NO_OUTPUT** = **3** - **CONNECTION_ERROR_SAME_NODE** = **4** - **CONNECTION_ERROR_CONNECTION_EXISTS** = **5** Property Descriptions --------------------- .. _class_AnimationNodeBlendTree_property_graph_offset: - :ref:`Vector2` **graph_offset** +----------+-------------------------+ | *Setter* | set_graph_offset(value) | +----------+-------------------------+ | *Getter* | get_graph_offset() | +----------+-------------------------+ Method Descriptions ------------------- .. _class_AnimationNodeBlendTree_method_add_node: - void **add_node** **(** :ref:`String` name, :ref:`AnimationNode` node, :ref:`Vector2` position=Vector2( 0, 0 ) **)** ---- .. _class_AnimationNodeBlendTree_method_connect_node: - void **connect_node** **(** :ref:`String` input_node, :ref:`int` input_index, :ref:`String` output_node **)** ---- .. _class_AnimationNodeBlendTree_method_disconnect_node: - void **disconnect_node** **(** :ref:`String` input_node, :ref:`int` input_index **)** ---- .. _class_AnimationNodeBlendTree_method_get_node: - :ref:`AnimationNode` **get_node** **(** :ref:`String` name **)** const ---- .. _class_AnimationNodeBlendTree_method_get_node_position: - :ref:`Vector2` **get_node_position** **(** :ref:`String` name **)** const ---- .. _class_AnimationNodeBlendTree_method_has_node: - :ref:`bool` **has_node** **(** :ref:`String` name **)** const ---- .. _class_AnimationNodeBlendTree_method_remove_node: - void **remove_node** **(** :ref:`String` name **)** ---- .. _class_AnimationNodeBlendTree_method_rename_node: - void **rename_node** **(** :ref:`String` name, :ref:`String` new_name **)** ---- .. _class_AnimationNodeBlendTree_method_set_node_position: - void **set_node_position** **(** :ref:`String` name, :ref:`Vector2` position **)**