AnimationTree
Inherits: AnimationMixer < Node < Object
A node used for advanced animation transitions in an AnimationPlayer.
Description
A node used for advanced animation transitions in an AnimationPlayer.
Note: When linked with an AnimationPlayer, several properties and methods of the corresponding AnimationPlayer will not function as expected. Playback and transitions should be handled using only the AnimationTree and its constituent AnimationNode(s). The AnimationPlayer node should be used solely for adding, deleting, and editing animations.
Tutorials
Properties
| ||
| ||
deterministic |
| |
Methods
get_process_callback ( ) const | |
void |
Signals
animation_player_changed ( )
Emitted when the anim_player is changed.
Enumerations
enum AnimationProcessCallback:
AnimationProcessCallback ANIMATION_PROCESS_PHYSICS = 0
For backward compatibility. See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS.
AnimationProcessCallback ANIMATION_PROCESS_IDLE = 1
For backward compatibility. See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE.
AnimationProcessCallback ANIMATION_PROCESS_MANUAL = 2
For backward compatibility. See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL.
Property Descriptions
NodePath advance_expression_base_node = NodePath(".")
void set_advance_expression_base_node ( NodePath value )
NodePath get_advance_expression_base_node ( )
The path to the Node used to evaluate the AnimationNode Expression if one is not explicitly specified internally.
NodePath anim_player = NodePath("")
The path to the AnimationPlayer used for animating.
AnimationRootNode tree_root
void set_tree_root ( AnimationRootNode value )
AnimationRootNode get_tree_root ( )
The root animation node of this AnimationTree. See AnimationRootNode.
Method Descriptions
AnimationProcessCallback get_process_callback ( ) const
For backward compatibility. See AnimationCallbackModeProcess.
void set_process_callback ( AnimationProcessCallback mode )
For backward compatibility. See AnimationCallbackModeProcess.
© Copyright 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision 53e837c6
.
Built with Sphinx using a theme provided by Read the Docs.