AnimationNodeBlendTree

Inherits: AnimationRootNode < AnimationNode < Resource < Reference < Object

Category: Core

Brief Description

Properties

Vector2 graph_offset

Methods

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 )

Constants

  • 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

Setter set_graph_offset(value)
Getter get_graph_offset()

Method Descriptions

  • void connect_node ( String input_node, int input_index, String output_node )
  • void disconnect_node ( String input_node, int input_index )
  • void remove_node ( String name )