Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AnimationTree
Hérite de : AnimationMixer < Node < Object
Un nœud utilisé pour les transitions d'animation avancées dans un AnimationPlayer.
Description
Un nœud utilisé pour des transitions d'animation avancées dans un AnimationPlayer.
Note : Quand lié à un AnimationPlayer, plusieurs propriétés et méthodes de l'AnimationPlayer correspondant ne fonctionneront pas comme prévu. La lecture et les transitions doivent être gérées en utilisant seulement le AnimationTree et ses éléments AnimationNodes. Le nœud AnimationPlayer doit être utilisé uniquement pour ajouter, supprimer et éditer des animations.
Tutoriels
Propriétés
|
||
|
||
callback_mode_discrete |
|
|
deterministic |
|
|
Méthodes
get_process_callback() const |
|
void |
Signaux
animation_player_changed() 🔗
Émis quand anim_player a changé.
Énumérations
enum AnimationProcessCallback: 🔗
AnimationProcessCallback ANIMATION_PROCESS_PHYSICS = 0
Obsolète : See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS.
AnimationProcessCallback ANIMATION_PROCESS_IDLE = 1
Obsolète : See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_IDLE.
AnimationProcessCallback ANIMATION_PROCESS_MANUAL = 2
Obsolète : See AnimationMixer.ANIMATION_CALLBACK_MODE_PROCESS_MANUAL.
Descriptions des propriétés
NodePath advance_expression_base_node = NodePath(".") 🔗
Le chemin vers le Node utilisé pour évaluer l'Expression AnimationNode si un n'est pas explicitement spécifiée en interne.
NodePath anim_player = NodePath("") 🔗
Le chemin vers le AnimationPlayer utilisé pour l'animation.
AnimationRootNode tree_root 🔗
void set_tree_root(value: AnimationRootNode)
AnimationRootNode get_tree_root()
Le nœud d'animation racine de cet AnimationTree. Voir AnimationRootNode.
Descriptions des méthodes
AnimationProcessCallback get_process_callback() const 🔗
Obsolète : Use AnimationMixer.callback_mode_process instead.
Renvoie la notification de traitement dans laquelle mettre à jour les animations.
void set_process_callback(mode: AnimationProcessCallback) 🔗
Obsolète : Use AnimationMixer.callback_mode_process instead.
Définit la notification de traitement dans laquelle mettre à jour les animations.