AnimationNodeStateMachine

Inherits: AnimationRootNode < AnimationNode < Resource < Reference < Object

Category: Core

Brief Description

Methods

void add_node ( String name, AnimationNode node, Vector2 position=Vector2( 0, 0 ) )
void add_transition ( String from, String to, AnimationNodeStateMachineTransition transition )
String get_end_node ( ) const
Vector2 get_graph_offset ( ) const
AnimationNode get_node ( String name ) const
String get_node_name ( AnimationNode node ) const
Vector2 get_node_position ( String name ) const
String get_start_node ( ) const
AnimationNodeStateMachineTransition get_transition ( int idx ) const
int get_transition_count ( ) const
String get_transition_from ( int idx ) const
String get_transition_to ( int idx ) const
bool has_node ( String name ) const
bool has_transition ( String from, String to ) const
void remove_node ( String name )
void remove_transition ( String from, String to )
void remove_transition_by_index ( int idx )
void rename_node ( String name, String new_name )
void set_end_node ( String name )
void set_graph_offset ( Vector2 name )
void set_node_position ( String name, Vector2 position )
void set_start_node ( String name )

Method Descriptions

  • String get_end_node ( ) const
  • Vector2 get_graph_offset ( ) const
  • String get_start_node ( ) const
  • int get_transition_count ( ) const
  • String get_transition_from ( int idx ) const
  • void remove_node ( String name )
  • void remove_transition_by_index ( int idx )
  • void set_end_node ( String name )
  • void set_graph_offset ( Vector2 name )
  • void set_start_node ( String name )