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.

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

Default

0

Setter

set_enabled_inputs(value)

Getter

get_enabled_inputs()

The number of available input ports for this node.


Default

0.0

Setter

set_cross_fade_time(value)

Getter

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


  • 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 )