AnimationNodeTransition

Inherits: AnimationNode < Resource < Reference < Object

A generic animation transition node for AnimationTree.

Description

Simple state machine for cases which don't require a more advanced AnimationNodeStateMachine. Animations can be connected to the inputs and transition times can be specified.

Tutorials

Properties

int

input_count

0

float

xfade_time

0.0

Methods

String

get_input_caption ( int input ) const

bool

is_input_set_as_auto_advance ( int input ) const

void

set_input_as_auto_advance ( int input, bool enable )

void

set_input_caption ( int input, String caption )


Property Descriptions

int input_count = 0

  • void set_enabled_inputs ( int value )

  • int get_enabled_inputs ( )

The number of available input ports for this node.


float xfade_time = 0.0

  • void set_cross_fade_time ( float value )

  • float get_cross_fade_time ( )

Cross-fading time (in seconds) between each animation connected to the inputs.


Method Descriptions

String get_input_caption ( int input ) const

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


bool is_input_set_as_auto_advance ( int input ) const

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


void set_input_as_auto_advance ( int input, bool enable )

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


void set_input_caption ( int input, String caption )

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