On this page
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
- AnimationTree
- https://godotengine.org/asset-library/asset/125
- https://godotengine.org/asset-library/asset/678
Properties
|
||
|
Methods
get_input_caption ( int input ) const |
|
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 |
|
Setter |
set_enabled_inputs(value) |
Getter |
get_enabled_inputs() |
The number of available input ports for this node.
float xfade_time
Default |
|
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 )
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_animationnodetransition.html