Inherits: AnimationRootNode < AnimationNode < Resource < Reference < Object
AnimationTree node resource that contains many blend type nodes.
This node may contain a sub-tree of any other blend type nodes, such as mix, blend2, blend3, one shot, etc. This is one of the most commonly used roots.
| Vector2 | graph_offset | Vector2( 0, 0 ) |
| void | add_node ( String name, AnimationNode node, Vector2 position=Vector2( 0, 0 ) ) |
| void | connect_node ( String input_node, int input_index, String output_node ) |
| void | disconnect_node ( String input_node, int input_index ) |
| AnimationNode | get_node ( String name ) const |
| Vector2 | get_node_position ( String name ) const |
| bool | has_node ( String name ) const |
| void | remove_node ( String name ) |
| void | rename_node ( String name, String new_name ) |
| void | set_node_position ( String name, Vector2 position ) |
null.null.| Default | Vector2( 0, 0 ) |
| Setter | set_graph_offset(value) |
| Getter | get_graph_offset() |
The global offset of all sub-nodes.
Adds an AnimationNode at the given position. The name is used to identify the created sub-node later.
Connects the output of an AnimationNode as input for another AnimationNode, at the input port specified by input_index.
Disconnects the node connected to the specified input.
Returns the sub-node with the specified name.
Returns the position of the sub-node with the specified name.
Returns true if a sub-node with specified name exists.
Removes a sub-node.
Changes the name of a sub-node.
Modifies the position of a sub-node.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_animationnodeblendtree.html