AnimationNodeStateMachine

Inherits: AnimationRootNode < AnimationNode < Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

allow_transition_to_self

false

bool

reset_ends

false

StateMachineType

state_machine_type

0

Methods

void

add_node ( StringName name, AnimationNode node, Vector2 position=Vector2(0, 0) )

void

add_transition ( StringName from, StringName to, AnimationNodeStateMachineTransition transition )

Vector2

get_graph_offset ( ) const

AnimationNode

get_node ( StringName name ) const

StringName

get_node_name ( AnimationNode node ) const

Vector2

get_node_position ( StringName name ) const

AnimationNodeStateMachineTransition

get_transition ( int idx ) const

int

get_transition_count ( ) const

StringName

get_transition_from ( int idx ) const

StringName

get_transition_to ( int idx ) const

bool

has_node ( StringName name ) const

bool

has_transition ( StringName from, StringName to ) const

void

remove_node ( StringName name )

void

remove_transition ( StringName from, StringName to )

void

remove_transition_by_index ( int idx )

void

rename_node ( StringName name, StringName new_name )

void

replace_node ( StringName name, AnimationNode node )

void

set_graph_offset ( Vector2 offset )

void

set_node_position ( StringName name, Vector2 position )


Enumerations

enum StateMachineType:

StateMachineType STATE_MACHINE_TYPE_ROOT = 0

There is currently no description for this enum. Please help us by contributing one!

StateMachineType STATE_MACHINE_TYPE_NESTED = 1

There is currently no description for this enum. Please help us by contributing one!

StateMachineType STATE_MACHINE_TYPE_GROUPED = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool allow_transition_to_self = false

  • void set_allow_transition_to_self ( bool value )

  • bool is_allow_transition_to_self ( )

There is currently no description for this property. Please help us by contributing one!


bool reset_ends = false

  • void set_reset_ends ( bool value )

  • bool are_ends_reset ( )

There is currently no description for this property. Please help us by contributing one!


StateMachineType state_machine_type = 0

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_node ( StringName name, AnimationNode node, Vector2 position=Vector2(0, 0) )

There is currently no description for this method. Please help us by contributing one!


void add_transition ( StringName from, StringName to, AnimationNodeStateMachineTransition transition )

There is currently no description for this method. Please help us by contributing one!


Vector2 get_graph_offset ( ) const

There is currently no description for this method. Please help us by contributing one!


AnimationNode get_node ( StringName name ) const

There is currently no description for this method. Please help us by contributing one!


StringName get_node_name ( AnimationNode node ) const

There is currently no description for this method. Please help us by contributing one!


Vector2 get_node_position ( StringName name ) const

There is currently no description for this method. Please help us by contributing one!


AnimationNodeStateMachineTransition get_transition ( int idx ) const

There is currently no description for this method. Please help us by contributing one!


int get_transition_count ( ) const

There is currently no description for this method. Please help us by contributing one!


StringName get_transition_from ( int idx ) const

There is currently no description for this method. Please help us by contributing one!


StringName get_transition_to ( int idx ) const

There is currently no description for this method. Please help us by contributing one!


bool has_node ( StringName name ) const

There is currently no description for this method. Please help us by contributing one!


bool has_transition ( StringName from, StringName to ) const

There is currently no description for this method. Please help us by contributing one!


void remove_node ( StringName name )

There is currently no description for this method. Please help us by contributing one!


void remove_transition ( StringName from, StringName to )

There is currently no description for this method. Please help us by contributing one!


void remove_transition_by_index ( int idx )

There is currently no description for this method. Please help us by contributing one!


void rename_node ( StringName name, StringName new_name )

There is currently no description for this method. Please help us by contributing one!


void replace_node ( StringName name, AnimationNode node )

There is currently no description for this method. Please help us by contributing one!


void set_graph_offset ( Vector2 offset )

There is currently no description for this method. Please help us by contributing one!


void set_node_position ( StringName name, Vector2 position )

There is currently no description for this method. Please help us by contributing one!