AnimationTree
Inherits:AnimationMixer<Node<Object
A node used for advanced animation transitions in anAnimationPlayer.
Description
A node used for advanced animation transitions in anAnimationPlayer.
Note: When linked with anAnimationPlayer, several properties and methods of the correspondingAnimationPlayer will not function as expected. Playback and transitions should be handled using only theAnimationTree and its constituentAnimationNode(s). TheAnimationPlayer node should be used solely for adding, deleting, and editing animations.
Tutorials
Properties
| ||
| ||
callback_mode_discrete |
| |
deterministic |
| |
Methods
Signals
animation_player_changed()🔗
Emitted when theanim_player is changed.
Enumerations
enumAnimationProcessCallback:🔗
AnimationProcessCallbackANIMATION_PROCESS_PHYSICS =0
Deprecated: SeeAnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS.
AnimationProcessCallbackANIMATION_PROCESS_IDLE =1
Deprecated: SeeAnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE.
AnimationProcessCallbackANIMATION_PROCESS_MANUAL =2
Deprecated: SeeAnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL.
Property Descriptions
NodePathadvance_expression_base_node =NodePath(".")
🔗
NodePathget_advance_expression_base_node()
The path to theNode used to evaluate theAnimationNodeExpression if one is not explicitly specified internally.
NodePathanim_player =NodePath("")
🔗
NodePathget_animation_player()
The path to theAnimationPlayer used for animating.
AnimationRootNodetree_root🔗
AnimationRootNodeget_tree_root()
The root animation node of thisAnimationTree. SeeAnimationRootNode.
Method Descriptions
AnimationProcessCallbackget_process_callback()const🔗
Deprecated: UseAnimationMixer.callback_mode_process instead.
Returns the process notification in which to update animations.
voidset_process_callback(mode:AnimationProcessCallback)🔗
Deprecated: UseAnimationMixer.callback_mode_process instead.
Sets the process notification in which to update animations.